Description Usage Arguments Value Examples
This function fits the expression profile of y as a function of pseudotime using a natural cubic spline of degree three. A tobit model is used to censor values less than min_expr
1 | fit_pseudotime_model(sce, gene, ...)
|
sce |
An object of type SCESet |
gene |
The gene name to fit, or anything that can subset the SCE model to a single gene |
... |
Additional arguments to be passed to AER::tobit |
An object of class AER::tobit
1 2 3 4 5 | library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
model <- fit_pseudotime_model(sce, 1) # fit for first gene
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.