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

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

[复制链接]
发表于 2012-2-26 10:16:05 | 显示全部楼层 |阅读模式
prepareData(OrderedList)
prepareData()所属R语言包:OrderedList

                                         Combining Two Studies into an Expression Set
                                         组合成一个表达式设置的两个研究

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

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

The function prepares a collection of two expression sets (ExpressionSet) and/or Affy batches (AffyBatch) to be passed on to the main function OrderedList. For each data set, one has to specify the variable in the corresponding phenodata from which the grouping into two distinct classes is done. The data sets are then merged into one ExpressionSet together with the rearranged phenodata. If the studies were done on different platforms but a subset of genes can be mapped from one chip to the other, this information can be provided via the mapping argument.
功能准备的两个表达式集的集合(ExpressionSet)和/或的Affy批次(AffyBatch)被传递给主函数OrderedList。对于每个数据集,在的相应phenodata分为两个不同类别的分组完成指定变量。数据集,然后合并成一个ExpressionSet一起重新安排phenodata。如果在不同的平台上进行研究,但可以映射从一个芯片到其他基因的一个子集,这些信息可以通过mapping参数。

Please note that both data sets have to be pre-processed beforehand, either together or independent of each other. In addition, the gene expression values have to be on an additive scale, that is logarithmic or log-like scale.
请注意,事前预先处理,不论是一起或彼此独立的两个数据集。此外,基因表达值是一种添加剂的规模,这是对数或log,喜欢的规模。


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


prepareData(eset1, eset2, mapping = NULL)



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

参数:eset1
The main inputs are the distinct studies. Each study is stored in a named list, which has five elements: data, name, var, out and paired, see details below.  
主要投入是不同的研究。每个研究存储在一个名为名单,其中有五个要素:data,name,var,out和paired,详见下文。


参数:eset2
Same as eset2 for the second data set.  
相同eset2第二个数据集。


参数:mapping
Data frame containing one named vector for each study. The vectors are comprised of probe IDs that fit to the rownames of the corresponding expression set. For each study, the IDs are ordered identically. For example, the kth row of mapping provides the label of the kth gene in each single study. If all studies were done on the same chip, no mapping is needed (default).  
数据框包含一个名为向量,为每个研究。探针标识符合相应的表达集rownames向量组成。每个研究,下令相同的ID。例如,kmapping日行提供标签kTH基因在每个单一的研究。如果在同一芯片上完成所有的研究,没有映射(默认)。


Details

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

Each study has to be stored in a list with five elements:
在五行列表中每个研究有:


值----------Value----------

An object of class ExpressionSet containing the joint data sets with appropriate phenodata.
一个类的对象ExpressionSet包含联合数据设置适当phenodata。


作者(S)----------Author(s)----------


Stefanie Scheid



参考文献----------References----------



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

OL.data, OrderedList
OL.data,OrderedList


举例----------Examples----------


data(OL.data)

### 'map' contains the appropriate mapping between 'breast' and 'prostate' IDs.[#“图”包含适当的映射之间的“乳房”和“前列腺”的ID。]
### Let's first concatenate two studies.[##让我们先来连接两个研究。]
A <- prepareData(
                 list(data=OL.data$prostate,name="prostate",var="outcome",out=c("Rec","NRec"),paired=FALSE),
                 list(data=OL.data$breast,name="breast",var="Risk",out=c("high","low"),paired=FALSE),
                 mapping=OL.data$map
                 )

### We might want to examine the first 100 probes only.[##我们可能要检查的第一个100探针只。]
B <- prepareData(
                 list(data=OL.data$prostate,name="prostate",var="outcome",out=c("Rec","NRec"),paired=FALSE),
                 list(data=OL.data$breast,name="breast",var="Risk",out=c("high","low"),paired=FALSE),
                 mapping=OL.data$map[1:100,]
                 )

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-1 23:49 , Processed in 0.022844 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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