Learn R Programming

MAST (version 0.931)

ZlmFit-class: An S4 class to hold the output of a call to zlm

Description

This holds output from a call to zlm.SingleCellAssay. Many methods are defined to operate on it. See below.

Usage

# S4 method for ZlmFit,CoefficientHypothesis
lrTest(object, hypothesis)

# S4 method for ZlmFit,Hypothesis lrTest(object, hypothesis)

# S4 method for ZlmFit,matrix lrTest(object, hypothesis)

# S4 method for ZlmFit,CoefficientHypothesis waldTest(object, hypothesis)

# S4 method for ZlmFit,Hypothesis waldTest(object, hypothesis)

# S4 method for ZlmFit coef(object, which, ...)

# S4 method for ZlmFit vcov(object, which, ...)

# S4 method for ZlmFit se.coef(object, which, ...)

Arguments

hypothesis

call to Hypothesis or CoefficientHypothesis or a matrix giving such contrasts.

which

character vector, one of "C" (continuous) or "D" (discrete) specifying which component should be returned

...

ignored

Methods (by generic)

  • lrTest: Returns an array with likelihood-ratio tests on contrasts defined using CoefficientHypothesis().

  • lrTest: Returns an array with likelihood-ratio tests specified by Hypothesis, which is a Hypothesis.

  • lrTest: Returns an array with likelihood-ratio tests specified by Hypothesis, which is a contrast matrix.

  • waldTest: Returns an array with Wald Tests on contrasts defined using CoefficientHypothesis().

  • waldTest: Returns an array with Wald Tests on contrasts defined in Hypothesis()

  • coef: Returns the matrix of coefficients for component which.

  • vcov: Returns an array of variance/covariance matrices for component which.

  • se.coef: Returns a matrix of standard error estimates for coefficients on component which.

Slots

coefC

coefD

matrices of coefficients

vcovC

vcovD

array of variance/covariance matrices for coefficients

LMlike

the LmWrapper object used

sca

the SingleCellAssay object used

deviance

loglik

df.null

df.resid

dispersion

dispersionNoShrink

priorDOF

priorVar

converged

output that may optionally be set by the underlying modeling function

hookOut

a list of length ngenes containing output from a hook function, if zlm was called with one

See Also

zlm.SingleCellAssay summary,ZlmFit-method