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))
Thank you!
Camilla
thank you!