Entering edit mode
4.2 years ago
Assa Yeroslaviz
★
1.9k
I was wondering if it is possible to put a title to a DimPlot()
which is splitted into two by group.by
.
in my example I am using this command to plot my data
DimPlot(seu.Merged, reduction = "tsne", label = TRUE, group.by=c("orig.ident", "seurat_clusters")) + ggtitle('This is a very long title, which should nbe spread over both plots, grouped by Ident (l) and clusters (r)')
But the plot looks like that:
Is there a way to spread the title over both parts of the plot?
thanks, that worked. I was thinking it calls only for ggplot2, good to know that it uses also patchwork. This calls for more visual possibilities