Learn R Programming

crmn (version 0.0.19)

makeX_eset: Make X

Description

Construct a design matrix

Usage

makeX_eset(object, factors, ...)

Arguments

object
an ExpressionSet
factors
column names from the pheno data of object
...
not used

Value

  • a design matrix

Details

Make a design matrix from the pheno data slot of an expression set, taking care that factors and numerical are handled properly. No interactions are included and the formula is the most simple possible, i.e. y~-1+term1+term2+...

Examples

Run this code
data(mix)
makeX(mix, "runorder")

Run the code above in your browser using DataLab