violinPlot: Violin plot.

Description Usage Arguments Value

View source: R/GenePattern.R

Description

Violin plot for specific gene in expression matrix.

Usage

1
2
violinPlot(mat, gene, level = NULL, levels = NULL, color = NULL,
  log = TRUE, jitter = FALSE)

Arguments

mat

Expression matrix.

gene

Gene id in rownames of mat.

level

Level in colnames of mat.

levels

Factor, custom level define by user.

color

Vector of rgb color indices for violin.

log

Boolen value, log transform the expression or not.

jitter

Boolen value, plot dots or not.

Value

ggplot2 object


charliex210/sctools documentation built on Dec. 29, 2021, 11:19 p.m.