10XGenomics / HumanColonCancer_VisiumHD

Associated code to the manuscript "Characterization of immune cell populations in the tumor microenvironment of colorectal cancer using high definition spatial profiling"
https://www.10xgenomics.com/products/visium-hd-spatial-gene-expression
Other
18 stars 1 forks source link

Inconsistent Level 2 cell type number #11

Closed YaoShuai-hub closed 17 hours ago

YaoShuai-hub commented 1 week ago

Hello! I ran into a problem while running Methods/FlexSingleCell.R. It seems that Level 2 has 46 subcluster, but it gives 48 Level 2 cell types. I'm wondering how you got this level 2 cell type after FindAllMarkers. Could you please share the cell type marker list?

My Seurat version is 5.1.0.

outputs:

Level2Clusters<-data.frame(ID=sort(unique(MetaDataSubClusters$Level2)), Label=c("Plasma","Mature B", ...) Error data.frame(ID = sort(unique(MetaDataSubClusters$Level2)), Label = c("Plasma", : Parameter values mean different number of rows: 46, 48

YaoShuai-hub commented 1 week ago

Level 1 cell type annotation are also incorrect image

YaoShuai-hub commented 1 week ago

Strangely, the shape of the read map is not the same as that of the Supplemental Figure 2 umap image image

jpromeror commented 1 week ago

Hello!

It looks that the UMAP and numbers above are showing only the "sketched" cells in the Seurat object. Could you double check if the projection to the full dataset was done correctly?

YaoShuai-hub commented 1 week ago

Hi! Thanks for your reply! I changed DefaultAssay(ColonCancer_Flex) <- "RNA". Except for that, I haven't made any changes to the clustering parameters and code. But Level 1 has 33 clusters now. Could you please offer me the intermediate file with annotations for each cell? The UMAP: image

LingyuLi-math commented 1 day ago

I meet the same problem when run: Level2Clusters<-data.frame(ID=sort(unique(MetaDataSubClusters$Level2)), Label=c("Plasma","Mature B","vSM","Memory B", "Endothelial","Myofibroblast","Lymphatic Endothelial", "CAF","Fibroblast","Fibroblast","Pericytes","Myofibroblast","Myofibroblast", "Vascular Fibroblast","Proliferating Fibroblast","Adipocyte", "Goblet","Enterocyte","Tuft","Macrophage","Mast","Mast", "Macrophage","Neutrophil","Proliferating Macrophage","mRegDC","cDC I","pDC", "Enteric Glial","vSM","Enteric Glial","Neuroendocrine","Macrophage", "Epithelial","SM Stress Response","Smooth Muscle","vSM","Unknown III (SM)", "CD4 T cell","CD8 Cytotoxic T cell","NK cell","Unknwon I (Immune)", "Tumor I","Tumor II","Tumor III","Tumor IV","Tumor V","Proliferating Immune II")) image

jpromeror commented 18 hours ago

Hello!

Sorry for the delayed response.

Thanks for highlighting this. I've identified a couple of errors and planning to update the code as soon as possible. Also, we will upload a MetaData file with both Level1 and Level2 annotations.

Will update once it's completed.

jpromeror commented 17 hours ago

You can find the annotations in the repository https://github.com/10XGenomics/HumanColonCancer_VisiumHD/blob/main/MetaData/SingleCell_MetaData.csv

Also addressed the inconsistency between number of clusters and cell type labels.

Will close the issue, but feel free to reopen if something isn't working.

Thanks for catching this!