phi.ml: Estimates dispersion parameter phi

Description Usage Arguments Value

View source: R/FSCseq.R

Description

Uses theta.ml2 and theta.mm functions to tryCatch any unstable estimations

Usage

1
phi.ml(y, mu, dfr, weights, t0, limit, trace)

Arguments

y

vector: gene read counts for one fixed gene

mu

vector: mean. must be same length as y

dfr

numeric: degrees of freedom for theta.mm()

weights

vector: must be same length as y

limit

numeric: max number of iterations for theta.ml() and theta.mm()

trace

logical: True/False to show trace output from theta.ml

Value

phi_g: estimate of phi


DavidKLim/FSCseq documentation built on Dec. 12, 2021, 3:46 a.m.