Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few of advices for this package #12

Open
honghh2018 opened this issue Jun 3, 2021 · 1 comment
Open

A few of advices for this package #12

honghh2018 opened this issue Jun 3, 2021 · 1 comment

Comments

@honghh2018
Copy link

Hi ,
Thanks to develop the great tools to visulize the scRNA data.
I hope the plot_density function can add the split_by parameter in it to display different group data.
Besides, i hope the plot_density's legend can set the real value not the converted value ?
Hope the package best,
hanhuihong

@martin-jeremy
Copy link

Hi, as you are inferring kernel density estimation to impute the zero-inflatted matrices of scRNA seq, I don't think it's possible to show the "real value" on the legend.

For the split.by parameter, you can trick it using facetting of ggplot such as:

library(Seurat)
library(Nebulosa)
library(SeuratData)

pbmc3k <- LoadData('pbmc3k', 'pbmc3k.final')

plot_density(pbmc3k, 'CD3E')
plot_density(pbmc3k, 'CD3E') + facet_wrap(~pbmc3k$seurat_annotations)

Hope it helps,
Jeremy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants