plot_stacked_violins: Returns a stacked violin plot of log2 normalized expression...

View source: R/plot_stacked_violins.R

plot_stacked_violinsR Documentation

Returns a stacked violin plot of log2 normalized expression subsetted by items in pData. Compatible with ggplot2

Description

Returns a stacked violin plot of log2 normalized expression subsetted by items in pData. Compatible with ggplot2

Usage

plot_stacked_violins(
  cds = NULL,
  genes = c("NULL"),
  group_by = "cluster",
  assay_name = "counts"
)

Arguments

cds

a cell data set object

group_by

a character string indicating the column in pData used for grouping cells

assay_name

a character string used to indicate which expression values to use from the Assay slot in the CDS

gene

a vector of gene short names

Value

Returns a stacked violin plot of normalized expression values subsetted by a category in pData


Jaugust7/scVisualizeR documentation built on Jan. 13, 2023, 1:12 p.m.