pl_stackedViolinPlot: stacked Violin Plots in one plot

Description Usage Arguments Value

View source: R/pl.R

Description

stacked Violin Plots in one plot

Usage

1
2
3
4
5
6
7
8
9
pl_stackedViolinPlot(
  data,
  features,
  group_by,
  groups = NULL,
  fill_colors = NULL,
  ncol = 1,
  facet_scales = "free_y"
)

Arguments

data

expression matrix of feature by cell, ususally normalized (in log scale) but not feature scaled.

features

features to be visualized

group_by

a vector including cell annotations

groups

only these selected groups to be visualized

fill_colors

violion fill colors

ncol

number of columns to plot

facet_scales

scales of facet_wrap

Value

a ggplot object


zzwch/convgene documentation built on July 11, 2021, 9:41 a.m.