Feature plot not applicable for RunTSNE object in seurat?
1
0
Entering edit mode
6 months ago
synat.keam ▴ 100

enter image description here

Dear All,

I visualized my cluster using tsne object (image attached) and would like to run FeaturePlot to examine the expression of particular gene, but it did not work for tsne object.

I could only do it with UMAP. Any suggestion to visualize particular gene in all clusters using tsne object.

Thanks,

library(harmony)
set.seed(15874)
Tcell.cluster_TSNE<-  RunHarmony(Tcell.cluster, group.by.vars = "orig.ident")
Tcell.cluster_TSNE <- FindNeighbors(Tcell.cluster_TSNE, reduction= "harmony", dims = 1:30)
Tcell.cluster_TSNE <- FindClusters(Tcell.cluster_TSNE, resolution = 0.8)
Tcell.cluster_TSNE <- RunTSNE(Tcell.cluster_TSNE, reduction = "harmony", dims = 1:30)

# Feature plot
FeaturePlot(Tcell.cluster_TSNE, features = c("CD4", "CD8A", "FOXP3", "GNLY"))
harmony Seurat single-cell • 490 views
ADD COMMENT
3
Entering edit mode
6 months ago
bk11 ★ 2.4k

You need to define reduction in your FeaturePlot function-

FeaturePlot(Tcell.cluster_TSNE, features = c("CD4", "CD8A", "FOXP3", "GNLY"), reduction = "tsne")
ADD COMMENT
0
Entering edit mode

Thank you so much senior. it worked now. much appreciated.

ADD REPLY

Login before adding your answer.

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