| plotGenePseudotime {slingshot} | R Documentation |
Show the gene expression pattern for an individual gene along
lineages inferred by slingshot.
plotGenePseudotime(data, ...) ## S4 method for signature 'SlingshotDataSet' plotGenePseudotime(data, gene, exprs, loess = TRUE, loessCI = TRUE, ...) ## S4 method for signature 'SingleCellExperiment' plotGenePseudotime(data, gene, exprs, loess = TRUE, loessCI = TRUE, ...)
data |
an object containing |
... |
additional parameters to be passed to |
gene |
the gene to be plotted. If |
exprs |
the genes-by-samples matrix of scaled expression values (log counts or normalized log counts). |
loess |
logical, whether to include a loess fit in each plot (default is
|
loessCI |
logical, whether to include a confidence band around the loess
curve (default is |
returns NULL.
data("slingshotExample")
sds <- slingshot(rd, cl, start.clus = "1")
ex <- matrix(c(rchisq(100,1),rchisq(20,3),rchisq(20,6)),nrow=1)
rownames(ex) <- 'Gene-1'
plotGenePseudotime(sds, 'Gene-1', ex)