SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA")
do_BoxPlot()
Basic usage
Group by a variable
SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA",
group.by = "annotation")
Change to silhouette style
SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA",
use_silhouette = TRUE)
Reorder by median values
SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA",
order = TRUE)
Split by a variable
SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA",
split.by = "annotation")
Apply statistical tests
SCpubr::do_BoxPlot(sample = sample,
feature = "nCount_RNA",
use_test = TRUE,
comparisons = list(c("0", "1"),
c("3", "4"),
c("5", "9")))