plotOrderedExpression: plotOrderedExpression

Description Usage Arguments Value

View source: R/DCARS.R

Description

the plotOrderedExpression function plots expression vectors along branches and genes as ribbon plots

Usage

1
2
plotOrderedExpression(branchData, gene, xvals = NULL,
  subsetBranch = NULL, facet = FALSE)

Arguments

branchData

is a list containing matrices of the cell expression per branch, assumed that the columns of each matrix in branchData is ordered by pseudotime. If branchData is not given as a list, it will be converted into a list containing branchData.

gene

is either a single character string with an underscore, or a two length character vector

xvals

is a list containing the x-values associated with the samples in branchData (if NULL, samples will just be plotted against their rank)

subsetBranch

subsetBranch is a character vector containing the names of the branches to be plotted. If NULL it will plot all branches

facet

can either be FALSE, "branch", "gene", or "both"

Value

ggplot a ggplot object for ribbon plot with points


shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.