找回密码
 注册
查看: 624|回复: 0

R语言 edgeR包 dim()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 17:05:25 | 显示全部楼层 |阅读模式
dim(edgeR)
dim()所属R语言包:edgeR

                                        Retrieve the Dimensions of a DGEList, DGEExact, DGEGLM, DGELRT or TopTags Object
                                         找回了DGEList的尺寸,对象DGEExact,DGEGLM,DGELRT或TopTags

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Retrieve the number of rows (transcripts) and columns (libraries) for an DGEList, DGEExact or TopTags Object.
检索行(成绩单)和列,为DGEList,DGEExact或TopTags对象(库)的数量。


用法----------Usage----------


## S3 method for class 'DGEList'
dim(x)
## S3 method for class 'DGEList'
length(x)



参数----------Arguments----------

参数:x
an object of class DGEList, DGEExact, TopTags, DGEGLM or DGELRT
一个对象类DGEList,DGEExact,TopTags,DGEGLM或DGELRT


Details

详情----------Details----------

Digital gene expression data objects share many analogies with ordinary matrices in which the rows correspond to transcripts 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)----------


Gordon Smyth, Davis McCarthy



参见----------See Also----------

dim in the base package.
dim基本包。

02.Classes gives an overview of data classes used in LIMMA.
02.Classes给在LIMMA使用的数据类的概述。


举例----------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("MAList",list(M=M,A=A))
dim(M)
ncol(M)
nrow(M)
length(M)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-10 22:37 , Processed in 0.022625 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表