plotViolin: Plot violin plot.

View source: R/plotViolin.R

plotViolinR Documentation

Plot violin plot.

Description

Plot violin plot of gene expression in the populations and save to file.

Usage

plotViolin(
  object,
  assay.type = "RNA",
  geneList,
  column,
  column.color,
  cols,
  order = NULL,
  log = TRUE
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

geneList

character vector; genes to show.

column

character; column in the metadata table to annotate the figure.

column.color

character; corresponding color column for the annotation.

cols

numeric; the number of columns in the output figure.

order

character vector; ordered populations. The default is ascending order.

log

boolean; whether to use data in logarithmic scale.

Value

ggplot2; plot.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.