genedynamics | R Documentation |
plot gene expression values of individual genes along pseudotime
genedynamics(geneexpr, order, k = 3)
geneexpr |
A named gene expression vector. Names are cell names. |
order |
A character vector of pseudotime cell ordering. Must be within the column names of |
k |
degree of gam model. Smaller k makes the curve smoother. |
This function plots the expression values of individual genes against given pseudotime
ggplot2 object.
Zhicheng Ji <zhicheng.ji@duke.edu>
data(lpsdata) procdata <- preprocess(lpsdata) lpsmclust <- exprmclust(procdata) lpsorder <- TSCANorder(lpsmclust,orderonly=TRUE,flip=TRUE) #Choose STAT1 gene expression to plot STAT2expr <- log2(lpsdata["STAT2",]+1) singlegeneplot(STAT2expr, lpsorder)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.