ViolinPlotExpression: Violin plot of gene expression

View source: R/PlottingFunctions.R

ViolinPlotExpressionR Documentation

Violin plot of gene expression

Description

Produce a violin plot of gene expression.

Usage

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


mkarikom/RSoptSC documentation built on May 10, 2023, 1:10 a.m.