Description Usage Arguments Value Author(s) See Also Examples
build_models
creates a deSet
object. The user inputs
the full and null models.
1 |
data |
|
cov |
|
full.model |
|
null.model |
|
ind |
|
deSet
object
John Storey, Andy Bass
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.