Single Cell Density Scatter Plot with Seruat
1
0
Entering edit mode
2.2 years ago

I am currently working in a department which requested a figure just like the one seen in Fig 1C in this article. The FeatureScatter function does not appear to allow density functions nor does Nebulosa allow for scatter plots. Does anyone know how create this figure within Seurat?

singlecell seruat • 1.9k views
ADD COMMENT
2
Entering edit mode
2.2 years ago

Extract the UMAP coordinates with the Embeddings function, and plot them using the geom_pointdensity geometry from ggpointdensity.

ADD COMMENT
0
Entering edit mode

Thank you but the X and Y axis need to be expression of two different genes, not UMAP or other graph coordinates.

ADD REPLY
0
Entering edit mode

The same advice applies, but instead of Embeddings use GetAssayData and subset the two genes.

ADD REPLY

Login before adding your answer.

Traffic: 2334 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6