Produce a violin plot of gene expression.

ViolinPlotExpression(
  data,
  gene_names,
  labels,
  gene_name,
  colorscale = NULL,
  jitsize = 0.2
)

Arguments

data

a matrix with genes in rows and cells in columns

gene_names

a vector of names corresponding to the rows in data

labels

a vector of cluster assignments for the cells

gene_name

the name of the gene to plot

colorscale

optionally provided color scale

jitsize

the jitter size parameter

Value

a violin plot