build_models {edge} | R Documentation |
build_models
creates a deSet
object. The user inputs
the full and null models.
build_models(data, cov, full.model = NULL, null.model = NULL, ind = NULL)
data |
|
cov |
|
full.model |
|
null.model |
|
ind |
|
deSet
object
John Storey, Andy Bass
# create ExpressionSet object from kidney dataset library(splines) data(kidney) age <- kidney$age sex <- kidney$sex kidexpr <- kidney$kidexpr cov <- data.frame(sex = sex, age = age) # create models null.model <- ~sex full.model <- ~sex + ns(age, df=4) # create deSet object from data de_obj <- build_models(data = kidexpr, cov = cov, null.model = null.model, full.model = full.model)