| getCounts {edgeR} | R Documentation |
Returns the counts component of a DGEList object
getCounts(object)
object |
|
getCounts returns a matrix of counts (presumably integers)
Mark Robinson, Davis McCarthy
DGEList for more information about the DGEList class.
as.matrix.DGEList.
# generate raw counts from NB, create list object y<-matrix(rnbinom(20,size=1,mu=10),nrow=5) d<-DGEList(counts=y,group=rep(1:2,each=2),lib.size=rep(c(1000:1001),2)) # should be 5x4 print(dim(getCounts(d)))