Learn R Programming

ABSSeq (version 1.8.0)

groups: Accessors for the 'groups' slot of a ABSDataSet object.

Description

Accessor functions for the 'groups' information in a ABSDataSet object.

Usage

"groups"(object)
"groups"(object)<-value

Arguments

object
an ABSDataSet object.
value
a factor object, includes two groups, equal with the number of samples

Details

The 'groups' is a factor object, contains the experiment design for differential expression analysis. Its length should be equal with the sample size.

Examples

Run this code
obj <- ABSDataSet(counts=simuN5$counts, groups=factor(simuN5$groups))
groups(obj)
groups(obj) <- factor(rep(c("A","B"),c(5,5)))
groups(obj)

Run the code above in your browser using DataLab