Entering edit mode
2.2 years ago
Payal
▴
160
Hello,
I am doing my singlecell analysis in Seurat. I want to create Pearson correlation matrix of a set of genes per cluster basis. I want to see how these set of genes are co-expressed in all clusters.
Something like this(Referenced from Deseq2 manual)
I know about Seurat has FeatureScatter but that's only one gene against another. How to do for multiple genes? Also which data slot is appropriate for this kind of analysis?
Thanks
Can you be a bit more specific about how you want this to break down? Do you want one correlation matrix per cluster and to visualize the matrices? Or do you actually want scatterplots like FeatureScatter? And, within the same figure, do you want to look at all pairs of genes within one cluster; or to look at the same pair of genes across multiple clusters?
I want to look at all pairs of genes within one cluster. I want one correlation matrix per cluster for a set of around 90 genes I am interested in. I actually want to create a plot like below.
Example: GeneA to GeneD in row for cluster 1 and again GeneA to D in column for cluster 1, with their correlation values.
Something like this
should be a good starting point. (Untested)