getOffset {edgeR} | R Documentation |
Returns the lib.size
component of the samples
component of DGEList object multiplied by the norm.factors
component
getOffset(object)
object |
|
getOffset
returns a numeric vector
Gordon Smyth, 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)) getOffset(d)