subsetting(edgeR)
subsetting()所属R语言包:edgeR
Subset DGEList, DGEGLM, DGEExact and DGELRT Objects
子集DGEList,DGEGLM,DGEExact和DGELRT的对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract a subset of a DGEList, DGEGLM, DGEExact or DGELRT object.
提取DGEList,DGEGLM,DGEExact或DGELRT对象的子集。
用法----------Usage----------
## S3 method for class 'DGEList'
object[i, j, ...]
## S3 method for class 'DGEGLM'
object[i, j, ...]
## S3 method for class 'DGEExact'
object[i, j, ...]
## S3 method for class 'DGELRT'
object[i, j, ...]
参数----------Arguments----------
参数:object
object of class DGEList, DGEGLM, DGEExact or DGELRT, respectively
对象类DGEList,DGEGLM,DGEExact或DGELRT,分别
参数:i,j
elements to extract. i subsets the tags or genes while j subsets the libraries. Note, columns of DGEGLM, DGEExact and DGELRT objects cannot be subsetted.
提取的元素。 i亚群的标记或基因,而j子集库。请注意,列DGEGLM,DGEExact和DGELRT对象不能将子集。
参数:...
not used
不使用
Details
详情----------Details----------
i,j may take any values acceptable for the matrix components of object of class DGEList. See the Extract help entry for more details on subsetting matrices. For DGEGLM, DGEExact and DGELRT objects, only rows (i.e. i) may be subsetted.
i,j可能采取的任何值接受object类DGEList基质成分。看到更多细节上的子集矩阵的提取物,帮助条目。 DGEGLM,DGEExact和DGELRT对象的行(即i)可能子集。
值----------Value----------
An object of class DGEList, DGEGLM, DGEExact or DGELRT as appropriate, holding data from the specified subset of tags/genes and libraries.
一个类的对象DGEList,DGEGLM,DGEExact或DGELRT适当,从指定标签/基因和库子集的数据。
作者(S)----------Author(s)----------
Davis McCarthy, Gordon Smyth
参见----------See Also----------
Extract in the base package.
Extract基本包。
举例----------Examples----------
d <- matrix(rnbinom(16,size=1,mu=10),4,4)
rownames(d) <- c("a","b","c","d")
colnames(d) <- c("A1","A2","B1","B2")
d <- DGEList(counts=d,group=factor(c("A","A","B","B")))
d[1:2,]
d[1:2,2]
d[,2]
d <- estimateCommonDisp(d)
results <- exactTest(d)
results[1:2,]
# NB: cannot subset columns for DGEExact objects[注意:不能为DGEExact对象的子集列]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|