getF: F statistic from comparing nested limma models

Description Usage Arguments Value Author(s) See Also

View source: R/getF.R

Description

Given two model fits (created with limma's lmFit), with model A nested in model B, calculate an F statistic for the test for whether model B is significantly better than model A.

Usage

1
getF(fit, fit0, theData)

Arguments

fit

MArrayLM object from fitting model B

fit0

MArrayLM object from fitting model A

theData

data matrix used to fit both models. (matrix of outcome values)

Value

data frame with elements

fstat

the F statistic from the test

df1

first df for F distribution used in testing

df2

second df for F distribution used in testing

f_pval

p-value resulting from said test.

Author(s)

Andrew Jaffe

See Also

getTstats, makeDb


leekgroup/derfinder documentation built on May 20, 2019, 11:30 p.m.