Xprep: Fitting of a linear model

Description Usage Arguments Value Author(s)

View source: R/Xprep.r

Description

The function fits a linear model to a microarray data matrix.

Usage

1
Xprep(indata=M, formula=~as.factor(g), contrast=c(0,1), design=NULL)

Arguments

indata

The data matrix

formula

a linear model formula in the lm format

contrast

a vector defining the contrast of interest

design

the design matrix

Value

a list with the entries

Mbar

estimate of the contrast

Vest

the error variance

k

inverse of the scale factor turning Vest into a standard error

f

the degrees of freedom of Vest

design

the design matrix

Author(s)

Per Broberg


SAGx documentation built on Nov. 8, 2020, 8:18 p.m.