summary: Summary of deFit and deSet

Description Usage Arguments Value Author(s) Examples

Description

Summary of deFit and deSet objects.

Usage

1
2
3
4
5
6
7
summary(object, ...)

## S4 method for signature 'deFit'
summary(object)

## S4 method for signature 'deSet'
summary(object, ...)

Arguments

object

S4 object: deSet

...

additional parameters

Value

Summary of deSet object

Author(s)

John Storey, Andrew Bass

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# import data
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)

# get summary
summary(de_obj)

# run odp and summarize
de_odp <- odp(de_obj, bs.its= 20)
summary(de_odp)

jdstorey/edge documentation built on May 18, 2019, 11:35 p.m.