SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA")
do_BeeSwarmPlot()
Basic usage
Remove boxplots
SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA",
plot_boxplot = FALSE)
Add horizontal line
SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA",
y_cut = 25000)
Modify line width of violins
SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA",
line_width = 1.5)
Modify with of the boxplots
SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA",
boxplot_width = 0.1)
Split by another variable
SCpubr::do_ViolinPlot(sample = sample,
features = "nCount_RNA",
split.by = "annotation",
plot_boxplot = FALSE)