p1 <- SCpubr::do_DimPlot(sample = sample,
idents.keep = idents.keep,
group.by = "relabelling",
font.size = 20,
raster = TRUE,
raster.dpi = 2048,
pt.size = 6,
colors.use = cluster_cols,
legend.icon.size = 8,
legend.ncol = 2,
na.value = "grey50")
p2 <- SCpubr::do_DimPlot(sample = sample,
split.by = "time",
font.size = 20,
raster = TRUE,
raster.dpi = 2048,
pt.size = 6,
colors.use = scale.status,
legend.icon.size = 8,
legend.ncol = 2,
na.value = "grey90")
p3 <- SCpubr::do_DimPlot(sample = sample,
split.by = "grade",
font.size = 20,
raster = TRUE,
raster.dpi = 2048,
pt.size = 6,
colors.use = scale.grade,
legend.icon.size = 8,
legend.ncol = 3,
na.value = "grey90")
layout <- c("ABB
CCC")
p <- patchwork::wrap_plots(A = p1,
B = p2,
C = p3,
design = layout)