How to remove the default title to a DimPlot() splitted into two by group.by ?
1
0
Entering edit mode
13 months ago
camillab. ▴ 160

Hi,

Is it is possible to remove the default title (in the pic below "stim") to a DimPlot() which is splitted into two by group.by.? I want to generate the same type of plot/pannel but I cannot remove the title on the integrated plot. T

p1 <- DimPlot(pbmc, reduction = "umap", group.by = "sample.New") 
p2 <- DimPlot(pbmc, reduction = "umap", label = TRUE)
test <- plot_grid(p1, p2)
title <- ggdraw() + draw_label("Cell 19 cluster only",fontface='bold')
plot_grid(title, test, ncol=1, rel_heights=c(0.1, 1)) 

enter image description here

Thank you!

Camilla

Dimplot title Seurat • 1.9k views
ADD COMMENT
1
Entering edit mode
13 months ago

p1 <- DimPlot(pbmc, reduction = "umap", group.by = "sample.New") + ggtitle(NULL)

ADD COMMENT
0
Entering edit mode

thank you!

ADD REPLY

Login before adding your answer.

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