Detecting Collective signalling events in epithelial Cells

This section outlines an example pipeline written in python to get from images of epithelial cells to quantification with ARCOS and visualization with napari.

The following describes an example image processing pipeline written in python to analyse collective events in an MDCK epithelium. What we are aiming for can be seen in the gif above. First, the erk measurement is extracted from the images and the individual nuclei are tracked. The second step shows how to analyse the data with ARCOS. Similar results can be achieved with standalone tools such as CellProfiler and Ilastik. And both the R and Python packages can be used after preparing the data.

In the following zip file, you can find both the input data and the generated output from the image segmentation pipeline and ARCOS.

16MB
Open
Example Dataset, credit Paolo Gagliardi

Data Preparation

The data in this example is from an MDCK cell line that stably expresses a fluorescent FRET biosensor reporting the activity of the ERK kinase.

In the first step, the nuclei are segmented using the stardist python package.

Subsequently, the mean intensity of individual objects in the ratio image is measured and the individual nuclei are tracked over time.

Import libraries and define custom functions

Set variables

Load image and stardist model

Segment Nuclei and extract values from image

Example frame stardist segmentation

Track Nuclei and save csv

label
y
x
ERK
area
timepoint
track_id

1

234.0361

234.21661

24.241877

277

0

0

15

247.75668

17.486647

20.970326

337

0

1

14

201.73333

275.54409

22.105376

465

0

2

13

282.29854

274.37136

23.169903

412

0

3

12

79.808989

26.254682

23.794007

267

0

4

Analyse data with ARCOS

In this example, the python package arcos4py is used. But the same analysis could be carried out easily with the R package or the napari plugin.

Imports

Detect Collective Events

Filter Collective Events

timepoint
track_id
x
y
clTrackID
label
ERK
area
ERK.resc
ERK.bin

41

45

178.5023

159.9447

2

84

24.069124

434

0.309875

1

41

69

133.91586

161.19741

2

66

29.385113

309

0.780246

1

41

80

157.38387

171.76452

2

79

26.158065

310

0.575343

1

41

121

157.41818

112.88182

2

133

22.369697

330

0.312039

1

41

122

118.09012

132.79361

2

92

29.494186

344

0.862141

1

Plot NoodlePlot

Visualize Events in Napari

This step is optional and only one way to visualize events but can be usefull to validate correct event detection.

Imports

Prepare Data

Remap measured Ratio to segmented labels

Open Napari and add Layers

Screenshot of the visualization in napari
Download the jupyter notebook

Last updated

Was this helpful?