extract_pars {switchde}R Documentation

Extract parameters from fitted model

Description

Extract maximum likelihood parameter estimates from a call to switchde.

Usage

extract_pars(sde, gene)

Arguments

sde

The data.frame returned by switchde

gene

The gene for which to extract parameters

Value

A vector of length 3 corresonding to the parameters μ_0, k and t_0

Examples

data(synth_gex)
data(ex_pseudotime)
sde <- switchde(synth_gex, ex_pseudotime)
pars <- extract_pars(sde, "Gene1")

[Package switchde version 1.8.1 Index]