p2 <- SCpubr::do_FeaturePlot(sample = sample,
features = "OD_RE",
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
legend.length = 8,
legend.width = 0.5,
legend.framecolor = "grey50",
legend.tickcolor = "white",
legend.framewidth = 0.2,
legend.tickwidth = 0.2,
order = TRUE) + ggplot2::theme(plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p3 <- SCpubr::do_FeaturePlot(sample = sample,
features = "N_RE",
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
legend.length = 8,
legend.width = 0.5,
legend.framecolor = "grey50",
legend.tickcolor = "white",
legend.framewidth = 0.2,
legend.tickwidth = 0.2,
order = TRUE) + ggplot2::theme(plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p4 <- SCpubr::do_FeaturePlot(sample = sample,
features = "N2_RE",
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
legend.length = 8,
legend.width = 0.5,
legend.framecolor = "grey50",
legend.tickcolor = "white",
legend.framewidth = 0.2,
legend.tickwidth = 0.2,
order = TRUE) + ggplot2::theme(plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p5 <- SCpubr::do_DimPlot(sample = sample,
cells.highlight = list.selected$O_RA,
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
plot.title = "OD_RE") + ggplot2::theme(plot.title = ggplot2::element_text(hjust = 0.5),
plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p6 <- SCpubr::do_DimPlot(sample = sample,
cells.highlight = list.selected$N_RA,
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
plot.title = "N_RE") + ggplot2::theme(plot.title = ggplot2::element_text(hjust = 0.5),
plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p7 <- SCpubr::do_DimPlot(sample = sample,
cells.highlight = list.selected$N2_RA,
font.size = 16,
raster = TRUE,
raster.dpi = 2048,
pt.size = 4,
plot.title = "N2_RE") + ggplot2::theme(plot.title = ggplot2::element_text(hjust = 0.5),
plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
p8 <- SCpubr::do_CorrelationPlot(input_gene_list = list.selected,
mode = "jaccard",
font.size = 16,
axis.text.face = "plain",
legend.length = 8,
legend.width = 0.5,
legend.framecolor = "grey50",
legend.tickcolor = "white",
legend.framewidth = 0.2,
legend.tickwidth = 0.2) + ggplot2::theme(plot.margin = ggplot2::margin(t = 0, r = 0, b = 0, l = 0))
layout <- "CF
DG
EH"
p <- patchwork::wrap_plots(C = p2,
D = p3,
E = p4,
F = p5,
G = p6,
H = p7,
design = layout)