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

Description Usage Arguments Details Examples

Description

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

Usage

1
2
3
4
5
## S4 method for signature 'ABSDataSet'
groups(object)

## S4 replacement method for signature 'ABSDataSet,factor'
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

1
2
3
4
5
data(simuN5)
obj <- ABSDataSet(counts=simuN5$counts, groups=factor(simuN5$groups))
groups(obj)
groups(obj) <- factor(rep(c("A","B"),c(5,5)))
groups(obj)

wtaoyang/ABSSeq documentation built on May 27, 2019, 8:46 a.m.