Clustering seperate datasets based on anchorset #4074
-
Hello @satijalab, I would like to cluster my 2 datasets separately but based on anchors found when doing integration. Is this possible ? The integrated UMAP shows that some of the clusters align in both datasets while others present a shift or are absent. (I tried analyzing each dataset separately to Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi, I'm not sure what you mean by "while still taking into consideration the anchors / anchorset."? Maybe you are trying to find conserved markers across the two datasets? If so I'd suggest trying the |
Beta Was this translation helpful? Give feedback.
-
No, I don't mean the conserved markers. I am interested in the opposite. I have 2 samples (A and B) that represent different time points during embryonic development. But, when I do the clustering separately for each sample, I am not able to tell every time which population in sample A corresponds to which one in sample B. That is because the samples don't align (and the markers are evolving because cells are differentiating). I want to find all markers for all populations in sample A and all markers for all populations in sample B in a clustering that aligns. Does that makes any sense ? Thank you |
Beta Was this translation helpful? Give feedback.
-
I think the analysis you want to do is similar to that shown in the introductory integration vignette: https://satijalab.org/seurat/articles/integration_introduction.html#introduction-to-scrna-seq-integration-1 See the section "Identify differential expressed genes across conditions" Once you have a consistent set of cell labels across the datasets (integrated clustering, for example), you can use |
Beta Was this translation helpful? Give feedback.
I think the analysis you want to do is similar to that shown in the introductory integration vignette: https://satijalab.org/seurat/articles/integration_introduction.html#introduction-to-scrna-seq-integration-1
See the section "Identify differential expressed genes across conditions"
Once you have a consistent set of cell labels across the datasets (integrated clustering, for example), you can use
FindMarkers()
to find differentially expressed genes within a cluster across the two experiments.