Makes violin plot, by default using ggbeeswarm package.

plot_violin(x, feature, group, ...)

# S3 method for Seurat
plot_violin(x, feature, group, size = 0.1, ...)

# S3 method for SingleCellExperiment
plot_violin(x, feature, group, size = 0.1, ...)

# S3 method for data.frame
plot_violin(x, feature, group, size = 0.1, ...)

Arguments

x

object to plot data from.

feature

name of the feature to plot.

group

grouping variable.

...

further arguments passed down to get_expression().

size

size of the points.