FeaturePlot in scater
1
0
Entering edit mode
@shangguandong1996-21805
Last seen 2.1 years ago
China

Hi, I am reading the OSCA book, which is a wonderful book.

I have seen the plotExpression function in OSCA. I am wondering whether there is a function like Seurat FeaturePlot can plot the gene expression on the UMAP or T-SNE plot like enter image description here

Best wishes

Guandong Shang

scater OSCA • 2.1k views
ADD COMMENT
3
Entering edit mode
@alanocallaghan-14291
Last seen 5 months ago
United Kingdom

Something like this?

library("scater")

example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)

example_sce <- runTSNE(example_sce)
plotReducedDim(example_sce, "TSNE", colour_by="Gene_0001")

ADD COMMENT
0
Entering edit mode

Thanks, this is what I want!

ADD REPLY

Login before adding your answer.

Traffic: 766 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