Learn R Programming

MAST (version 0.931)

summary,ZlmFit-method: Summarize model features from a ZlmFit object

Description

Returns a data.table with a special print method that shows the top 2 most significant genes by contrast. This data.table contains columns:

primerid

the gene

component

C=continuous, D=discrete, logFC=log fold change, S=combined using Stouffer's method, H=combined using hurdle method

contrast

the coefficient/contrast of interest

ci.hi

upper bound of confidence interval

ci.lo

lower bound of confidence interval

coef

point estimate

z

z score (coefficient divided by standard error of coefficient)

Pr(>Chisq)

likelihood ratio test p-value (only if doLRT=TRUE)

Some of these columns will contain NAs if they are not applicable for a particular component or contrast.

Usage

# S4 method for ZlmFit
summary(object, logFC = TRUE, doLRT = FALSE,
  level = 0.95, ...)

Arguments

object

A ZlmFit object

logFC

If TRUE, calculate log-fold changes, or output from a call to getLogFC.

doLRT

if TRUE, calculate lrTests on each coefficient, or a character vector of such coefficients to consider.

level

what level of confidence coefficient to return. Defaults to 95 percent.

...

ignored

See Also

print.summaryZlmFit

Examples

Run this code
# NOT RUN {
data(vbetaFA)
z <- zlm(~Stim.Condition, vbetaFA[,1:5])
zs <- summary(z)
names(zs)
print(zs)
##remove summaryZlmFit class to get normal print method (or call data.table:::print.data.table)
data.table::setattr(zs, 'class', class(zs)[-1])
# }

Run the code above in your browser using DataLab