Learn R Programming

edge (version 2.4.2)

summary: Summary of deFit and deSet

Description

Summary of deFit and deSet objects.

Usage

summary(object, ...)

## S3 method for class 'deFit': summary(object)

## S3 method for class 'deSet': summary(object, ...)

Arguments

object
S4 object: deSet
...
additional parameters

Value

  • Summary of deSet object

Examples

Run this code
# 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)

Run the code above in your browser using DataLab