fit_pseudotime_models: Generate a list of pseudotime models corresponding to ALL...

Description Usage Arguments Value Examples

View source: R/embeddr.R

Description

This will iterate over every gene in the SCESet and produce a model fit for each. WARNING: The list returned can be huge, so use only on a few genes.

Usage

1
fit_pseudotime_models(sce, n_cores = 2, ...)

Arguments

sce

An object of class SCESet

n_cores

The number of cores to use in the call to mclapply

...

Additional arguments to fit_pseudotime_model

Value

A list of models returned by AER::tobit

Examples

1
2
3
4
5
library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
models <- fit_pseudotime_models(sce, n_cores = 1)

kieranrcampbell/embeddr documentation built on May 20, 2019, 9:24 a.m.