.getAllUniContrasts {variancePartition}R Documentation

Get all univariate contrasts

Description

Get all univariate contrasts

Usage

.getAllUniContrasts(exprObj, formula, data)

Arguments

exprObj

matrix of expression data (g genes x n samples), or ExpressionSet, or EList returned by voom() from the limma package

formula

specifies variables for the linear (mixed) model. Must only specify covariates, since the rows of exprObj are automatically used a a response. e.g.: ~ a + b + (1|c) Formulas with only fixed effects also work

data

data.frame with columns corresponding to formula

Value

Matrix testing each variable one at a time. Contrasts are on rows


[Package variancePartition version 1.14.1 Index]