dim(marray)
dim()所属R语言包:marray
Retrieve the Dimensions of an marrayRaw, marrayNorm or marrayInfo Object
检索的的一个marrayRaw,marrayNorm或marrayInfo对象的尺寸
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Retrieve the number of rows (genes) and columns (arrays) for an marrayRaw, marrayNorm or marrayInfo object.
检索行(基因)列和一个marrayRaw,marrayNorm或marrayInfo对象(数组)的数量。
用法----------Usage----------
## S3 method for class 'marrayRaw'
dim(x)
参数----------Arguments----------
参数:x
an object of class marrayRaw, marrayNorm or marrayInfo
对象类marrayRaw,marrayNorm或marrayInfo
Details
详情----------Details----------
Microarray data objects share many analogies with ordinary matrices in which the rows correspond to spots or genes and the columns to arrays. These methods allow one to extract the size of microarray data objects in the same way that one would do for ordinary matrices.
芯片的数据对象共享许多普通的矩阵中的行对应点或基因和列数组类比。这些方法允许提取芯片的数据对象的大小,以同样的方式,一会做普通的矩阵。
A consequence is that row and column commands nrow(x), ncol(x) and so on also work.
一个后果是,行和列的命令nrow(x),ncol(x)等工作。
值----------Value----------
Numeric vector of length 2. The first element is the number of rows (genes) and the second is the number of columns (arrays).
数字矢量长度为2。第一个元素的行数(基因),二是数列(数组)。
作者(S)----------Author(s)----------
modified from Gordon Smyth's function
参见----------See Also----------
dim in the base package.
dim基本包。
举例----------Examples----------
M <- A <- matrix(11:14,4,2)
rownames(M) <- rownames(A) <- c("a","b","c","d")
colnames(M) <- colnames(A) <- c("A1","A2")
MA <- new("marrayNorm", maM=M,maA=A)
dim(MA)
dim(M)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|