getCounts(edgeR)
getCounts()所属R语言包:edgeR
Extract Table of Counts from DGEList Object
提取Object从DGEList的计数表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the counts component of a DGEList object
返回一个DGEList对象counts组件
用法----------Usage----------
getCounts(object)
参数----------Arguments----------
参数:object
DGEList object containing (at least) the elements counts (table of raw counts), group (factor indicating group) and lib.size (numeric vector of library sizes)
DGEList对象,其中包含(至少)的元素counts(原始计数表),group(因子组)和lib.size(数字图书馆大小的向量)
值----------Value----------
getCounts returns a matrix of counts (presumably integers)
getCounts返回的计数矩阵(大概是整数)
作者(S)----------Author(s)----------
Mark Robinson, Davis McCarthy
参见----------See Also----------
DGEList for more information about the DGEList class. as.matrix.DGEList.
DGEListDGEList类的更多信息。 as.matrix.DGEList。
举例----------Examples----------
# generate raw counts from NB, create list object[来自NB生成的原始计数,创建列表对象]
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[应该是5X4]
print(dim(getCounts(d)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|