You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate the Rank Weighted Colocalization coefficients?:Yes
240
240
Calculate the Overlap coefficients?:Yes
241
241
Calculate the Manders coefficients using Costes auto threshold?:No
242
-
Method for Costes thresholding:Fast
242
+
Method for Costes thresholding:Faster
243
243
244
244
RelateObjects:[module_num:15|svn_version:'Unknown'|variable_revision_number:5|show_window:True|notes:['This module relates a larger "Parent object" to another smaller "Child object/s". In this case, this allows us to identify which Nucleoli belong to which Nuclei.', 'The output is a new object called NucleoliChildObjects that has all of the nucleoli belonging to a single nucleus ']|batch_state:array([], dtype=uint8)|enabled:True|wants_pause:False]
Copy file name to clipboardexpand all lines: Instructions_for_adding_tutorials.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
1. Gather all the necessary files in a folder. Give the folder a descriptive name with no spaces. Note that files > 25 MB (and especially >100 MB) may not be uploadable to GitHub. If your tutorial requires large files, please do the following:
4
4
1. Add the files to a folder with a descriptive name (no spaces)
5
5
2. Zip the folder (on mac, right click > Compress...)
6
-
3. Add the .zip file to google drive in the `Outreach` > `Workshops_Webinars_Tutorials` folder on the shared g drive
6
+
3. Add the .zip file to google drive in the `Outreach` > `Workshops_Webinars_Tutorials`> `GithubLinkedTutorialFiles` folder on the shared g drive
7
7
4. Make sure the folder is public and copy the link to share the folder to use for the download link later.
8
8
9
9
2. Make a PR adding the folder of materials to the tutorial repo. In addition to the materials, please also
10
10
1) write a short description of the tutorial to add to the readme and
11
-
2) create a gif (tips on making one [here](https://docs.google.com/document/d/1G5odCSbX1fW8vReKH5ubgvWc1sIGquLisUe7t5pR7d8/edit#heading=h.kjidkmwv6jq3)) and add that gif to to the `assets` > `img` folder.
11
+
2) create a gif (tips on making one [here](https://docs.google.com/document/d/1G5odCSbX1fW8vReKH5ubgvWc1sIGquLisUe7t5pR7d8/edit#heading=h.kjidkmwv6jq3); in 2024 on Mac, Beth likes Gifski) and add that gif to to the `assets` > `img` folder.
12
12
3) add the tutorial to the `internal_use/docs/source/index.rst` file, and the index file of whatever language that tutorial is in (ie if English, `internal_use/docs/source/toc_en/index.rst`)
13
13
14
-
3. Update the readme with the description and gif. If there is an associated blogpost or video, please link that using the appropriate badge. If the tutorial is particularly geared toward beginners, add the beginner badge. If the tutorial is advanced such that a user should definitely do a beginner tutorial first, use the advanced badge.
14
+
3. Update the top-level readme with the description and gif. If there is an associated blogpost or video, please link that using the appropriate badge. If the tutorial is particularly geared toward beginners, add the beginner badge. If the tutorial is advanced such that a user should definitely do a beginner tutorial first, use the advanced badge.
15
15
16
16
## Here's an example of what the markdown looks like for the Translocation tutorial:
<ahref="https://drive.google.com/file/d/1s6GrMSBwoyu67-VCPDxz9okM518JsHHq/view?usp=sharing"target="_blank"><imgsrc="assets/img/download-button-es.png"alt="Materiales para descargar"width="140px"></a>
47
+
<ahref="https://drive.google.com/file/d/1LlmSZif9gOyn31xPLftzpJSflMukEFZU/view?usp=sharing"target="_blank"><imgsrc="assets/img/download-button-es.png"alt="Materiales para descargar"width="140px"></a>
Copy file name to clipboardexpand all lines: internal_use/docs/source/BeginnerSegmentation/BeginnerSegmentationPlugins.md
+24-2
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ Cell masks were made by navigating into the image folder and then running the co
100
100
1. Open up a clean copy of CellProfiler (or run File -> New Project) and drag `bonus_1_import_masks.cppipe` into the pipeline panel.
101
101
1. Drag the `images_Illum-corrected` subfolder from the main Beginner Segmentation exercise and also the `cellpose_masks_cells` subfolder from this exercise. *Do not drag in the `cellpose_masks_nuclei` folder.*
102
102
1. Put CellProfiler into TestMode <imgsrc="./TutorialImages/startTestMode.png"width="120"/>, open the eye icon <imgsrc="./TutorialImages/EyeOpen.png"width="50"/> next to OverlayOutlines, and then hit <imgsrc="./TutorialImages/Step.png"width="120"/> 3 times to create a classical segmentation and compare it with the Cellpose-generated version. You can check the settings in the OverlayOutlines module to see which outline color corresponds to which segmentation in the output.
103
-
1. Optionally, open the Workspace Viewer using <imgsrc="./TutorialImages/WorkspaceViewer.png"width="120"/> to create easily on-the-fly customizable overlays.
103
+
1. Optionally, open the Workspace Viewer using <imgsrc="./TutorialImages/ViewWorkspace.png"width="120"/> to create easily on-the-fly customizable overlays.
104
104
1. Hit <imgsrc="./TutorialImages/NextImageSet.png"width="120"/> and repeat a couple of times to examine the segmentations on more images.
105
105
106
106
```{admonition} Question for you
@@ -120,7 +120,7 @@ Visualization of images and objects in the Workspace Viewer
120
120
121
121
### Bonus-to-the-Bonus - add the provided nuclear segmentations as well
122
122
1. Drag and drop the `cellpose_masks_nuclei` folder in the Images module to add the nuclear masks to the image list.
123
-
1. Go to the NamesAndTypes module and configure it so both kinds of masks can be loaded (hint: there's a duplicate button!)
123
+
1. Go to the NamesAndTypes module and configure it so both kinds of masks can be loaded (hint: there's a duplicate button you can use to make a second copy of a channel!)
124
124
- You'll probably have to modify the existing settings for loading the cell masks by changing its rule or adding a second rule. Do you understand how/why?
125
125
126
126
## **Exercise 2: Running ilastik locally or from a Docker container**
@@ -242,6 +242,28 @@ The output of the RunCellpose module
242
242
4. As before, using OverlayOutlines and/or the WorkspaceViewer, evaluate segmentation on a few images. Where is CellProfiler doing better, and where is Cellpose doing better?
243
243
5. Use the <imgsrc="./TutorialImages/Info.png"width="35"> button to learn more about the different parameters you can pass to Cellpose (we don't offer all of them, but many!) - how does tweaking these affect your output? How about changing the model you're using, and/or the image you're segmenting?
244
244
245
+
### Bonus-to-the-Bonus 1 - test on a more varied data set
246
+
247
+
The data we gave you in this exercise was all very clean, and all from the negative control wells of this experiment. The [folder linked here](https://drive.google.com/file/d/10kZMhr2bVR14vMP7kG5iZGujjUI3Nn3Y/view?usp=sharing) contains images with a broader variety of phenotypes - try replacing the images in the `Images` module with this folder instead and see how well the two kinds of segmentation work in different conditions!
A broader range of phenotypes can be harder to consistently account for in conducting segmentation.
253
+
```
254
+
255
+
```{tip}
256
+
You’re encouraged to explore the performance in some random images on your own (you can do this from the `Test` menu with the `Random Image Set` option), but if you find yourself consistently ending up with images that look similar you can try examining images from the following list of wells- A08, A12, B12, B18, C7, D6, D19, D22, E3. You can pick these with `Test` -> `Choose Image Set`
Based on your evaluations above, can you identify some places where additional training might help fix some issues in the Cellpose model? If you happen to have Cellpose on your computer (or want to try installing it - see Exercise 1 for a link to the official install instructions), open Cellpose with some of the `Ch1` images and see if you can train a model that will perform better.
262
+
263
+
### Bonus-to-the-Bonus 3 - test your classical segmentation skills
264
+
265
+
The classical segmentation parameters provided here are based on expert tuning from a very experienced CellProfiler user - how close can you get? Add another IdentifyPrimaryObjects module to the pipeline, tune it yourself, and then look in the workspace viewer to see how it performs, especially in the more diverse image set from Bonus-to-the-Bonus 1. Compare your parameters to the expert ones - how do they differ? Do you understand why some of these settings may have been chosen?
266
+
245
267
## What next? Want to know more about CellProfliler plugins and modules?
246
268
1. Read the [CellProfiler-plugins paper](https://pubmed.ncbi.nlm.nih.gov/37690102/)
247
269
2. Watch this [video](https://www.youtube.com/watch?v=fgF_YueM1b8) to learn how to write a module
0 commit comments