Plots the cells in reduced dimensionality space with log10 expression values for a specified gene.
plot_violin(
sce,
group_var = "group",
subset_var = "cluster_celltype",
subset_group = "Oligo",
gene = "PLP1",
var_order = NULL,
palette = NULL,
alpha = 0.05,
size = 0.01,
label_angle = 0
)
a SingleCellExperiment object
The colData variable for x-axis groups
The colData variable to subset on
The specific subset_var group to subset
The gene of interest
Optional re-ordering of subset_group factor levels
Optional custom palette
point alpha
point size
The angle of x-axis labels (e.g. 0, 45)
p a ggplot object
Generates a 2d plot of cells with gene expression
Other plotting functions:
plot_expr_by_numeric_var()
,
plot_reduced_dim()
,
plot_reduced_dim_gene()