groups {ABSSeq} | R Documentation |
Accessor functions for the 'groups' information in a ABSDataSet object.
## S4 method for signature 'ABSDataSet' groups(object) ## S4 replacement method for signature 'ABSDataSet,factor' groups(object)<-value
object |
an |
value |
a |
The 'groups' is a factor object, contains the experiment design for differential expression analysis. Its length should be equal with the sample size.
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)