Description Usage Arguments Value Examples
Show the gene expression pattern for an individual gene along
lineages inferred by slingshot
.
1 2 3 4 5 6 7 | 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
.
1 2 3 4 5 6 7 | data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.