Closed sailseem closed 2 years ago
Hi @sailseem
have a look at the IMC data analysis workflow - read data section how to read in images and set metadata correctly.
Once you have read in the images and stored the cluster IDs in a colData
slot (e.g. colData(sce)$cluster_id
) have a look at the cytomapper quickstart how to visualize cell metadata on segmentation masks.
In your case this will be:
plotCells(mask = masks, object = sce,
cell_id = "ObjectNumber", img_id = "sample_id",
colour_by = "cluster_id")
You can subset the CytoImageList
object (e.g. masks["imageXYZ"]
) prior to plotting to visualize only selected images.
Great! Thank you very much for providing such a great package!!!
You are welcome :)
Dear developer,
Sorry to bother you, well, I got the results following steinbock and read in R using IMCtools. I got some clusters info after running UMAP. How can I input these cluster infos into cytomapper and make it visualized in certain images?
Thank you very much for your help.
Fan