plotColouredExpression: plotColouredExpression

Description Usage Arguments Value

View source: R/DCARS.R

Description

the plotColouredExpression function plots an n-panel scatterplot of the gene pairs split by early, mid, and late in the sample ordering.

Usage

1
2
plotColouredExpression(branchData, genepair, subsetBranch = NULL,
  n = 3, fittedline = TRUE)

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.

genepair

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

subsetBranch

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

n

number of panels to split ranked samples into, default 3.

fittedline

logical default TRUE, add a lm straight line to the plot

Value

ggplot a ggplot object of scatterplots of expression split by sample ordering


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