Description Usage Arguments Details Value Examples
Plot gene behaviour and MLE sigmoid as a function of pseudotime.
1 | switchplot(x, pseudotime, pars)
|
x |
Gene expression vector |
pseudotime |
Pseudotime vector (of same length as x) |
pars |
Fitted model parameters |
This plots expression of a single gene. Fitted model parameters can
either be specified manually or can be extracted from the data.frame
returned
by switchde
using the function extract_pars
.
A ggplot2
plot of gene expression and MLE sigmoid
1 2 3 4 | data(synth_gex)
data(ex_pseudotime)
sde <- switchde(synth_gex, ex_pseudotime)
switchplot(synth_gex[1, ], ex_pseudotime, extract_pars(sde, "Gene1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.