Putting it all together
Take all of the steps and put them together into a workflow!
Finally, we are taking everything we have learned and putting it to use!
This is currently an incomplete skeleton, but provides a framework for the use of all of the information provided in the previous pages. If you have questions about making this work, please post on the image.sc forum! If there are enough requests, we might fill this out a bit more.
Putting it all together
Start with a project
Generate cells throughout the project, duplicate the folder/project
Train a pixel classifier using annotation objects for Tissue/Ignore
Use orion4 5 and 6
RT w/variables
Moderate
All channels, all resolutions
First 4 measurements => Gaussian+weighted
balanced classes
load training
Create a thresholder for CD31 areas
Very high
Gaussian 1
Thresh 600=>1000
Train a cell classifier
Add measurement smoothing
B-cells
T-cells
macrophages
Endothelial/Epithelial cells
Create thresholds for PD-L1 and add that into a composite
Transfer the classifiers back over to the main project.
Assemble a script
Add in a distance to annotations2D
Run the script and export the data
Export rendered images
Take a quick look over the exported data
Include some extra scripts for things like the average distance per cell type for the tissue annotation in the text? (See the image.sc forum for examples)
Object visualization
The user interface has a decent selection of visualization options, including turning the three main types of objects on or off, toggling the pixel classifier overlay, toggling names, and a slider that controls the transparency of most on screen objects, though not the currently selected object.
Measurement Maps: All detections have some set of measurements associated with them, and measurement maps can be a nice way of visualizing those measurements. As you gain more comfort with the interface and scripting, this can become a powerful tool as you can create new measurements related to things like the overlap or correlation between multiple channels, which might otherwise be difficult to visualize with the channel viewer across your entire sample.
Density Maps: See the main QuPath docs
Export images using options discussed here.
Export data as described in the main documentation. As there are many different ways to use/parse the final data that tend to be individual to any given project, I suggest asking on the forum if you have specific questions not addressed in the documentation.