SingleR-inc / celldex

Collection of cell type reference datasets.
https://bioconductor.org/packages/devel/data/experiment/html/celldex.html
42 stars 7 forks source link

Difference between label.main and label.fine? #18

Closed bl24 closed 1 year ago

bl24 commented 1 year ago

Hi, I used the MouseRNAseqData reference data to annotate the same data twice, once using the label.main annotation and once using the label.fine. I'm wondering how do I end up with clusters being labeled differently. For instance, the cluster that is labeled Erythrocytes changes depending on which annotation level I use.

Cell_clusters_annotated_v2 Cell_clusters_annotated_v3

LTLA commented 1 year ago

The fine labels are nested within the main labels, the former are just more finely resolved.

> table(X$label.fine, X$label.main)[,"Erythrocytes"]
           Adipocytes                 aNSCs            Astrocytes
                    0                     0                     0
 Astrocytes activated               B cells        Cardiomyocytes
                    0                     0                     0
      Dendritic cells     Endothelial cells             Ependymal
                    0                     0                     0
         Erythrocytes           Fibroblasts Fibroblasts activated
                    3                     0                     0
Fibroblasts senescent          Granulocytes           Hepatocytes
                    0                     0                     0
          Macrophages Macrophages activated             Microglia
                    0                     0                     0
  Microglia activated             Monocytes               Neurons
                    0                     0                     0
    Neurons activated              NK cells                  NPCs
                    0                     0                     0
     Oligodendrocytes                  OPCs                 qNSCs
                    0                     0                     0
              T cells
                    0

I don't know what's going on in the above plot, though. Kind of wild to see erythrocytes and neurons getting mixed up. I assume you're using SingleR, so you might want to look at what markers are being used to identify each cell type.

bl24 commented 1 year ago

That's correct. I used SingleR.