Description Usage Arguments Value
the plotOrderedExpression function plots expression vectors along branches and genes as ribbon plots
1 2 | plotOrderedExpression(branchData, gene, xvals = NULL,
subsetBranch = NULL, facet = FALSE)
|
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" |
ggplot
a ggplot object for ribbon plot with points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.