fit_nzi_model: Fit a (non-zero-inflated) model for a single gene

Description Usage Arguments Value Examples

View source: R/switchde.R

Description

Fits a sigmoidal expression model for a single gene vector, returning MLE model parameters and p-value.

Usage

1
fit_nzi_model(y, pst)

Arguments

y

Vector of gene expression values

pst

Pseudotime vector, of same length as y

Value

A vector with 5 entries: maximum likelihood estimates for μ_0, k t0, σ^2 and a p-value

Examples

1
2
3
4

switchde documentation built on Oct. 31, 2019, 7:53 a.m.