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

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

[复制链接]
发表于 2012-2-25 21:36:01 | 显示全部楼层 |阅读模式
getSamples(HELP)
getSamples()所属R语言包:HELP

                                         Get samples
                                         索取样品

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

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

Fetch a subset of samples from a given data structure
取样本的一个子集,从一个给定的数据结构


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


getSamples(x, y, ...)



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

参数:x
the matrix of sample data to subset. If x is a vector it is interpreted as a matrix. x can also be of class "ExpressionSet".  
样本数据子集的矩阵。 x如果是它被解释为矩阵的向量。 x类"ExpressionSet"也可以。


参数:y
which sample(s) to use as data. Can be a vector of characters matching sample names, integers indicating which samples to choose, or a mixture of the two. If not supplied, all samples will be used.  
样品(S)使用的数据。可以是一个矢量字符匹配样本的名称,表示样本选择的整数,或两者的混合物。如果没有提供,所有样品将被使用。


参数:...
Arguments to be passed to methods (see getSamples-methods):     
被传递到方法的参数(见getSamples-methods):

element which element of AssayData to use for a given ExpressionSet input (default is "exprs")   
element元素AssayData使用一个给定的ExpressionSet输入(默认为"exprs")

order vector of characters, specifying on which column(s) to order the sample data. If NULL (default), the data will be returned without ordering enforced.   
order矢量字符,指定命令列(S)的样本数据。 NULL如果(默认),数据将被退回而不顺序执行。

\dots other arguments passed are not handled at this time.      
\dots通过其他参数没有在这个时间处理。


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

Returns a matrix of values corresponding to a subset of samples from the data supplied, where columns correspond to samples.  Function halts if no samples to return.   
返回一个对应的样品提供的,其中列对应样品的数据子集值矩阵。功能停止,如果没有返回的样本。


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


Reid F. Thompson (<a href="mailto:rthompso@aecom.yu.edu">rthompso@aecom.yu.edu</a>)



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

getSamples-methods
getSamples-methods


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


data(sample.ExpressionSet)
se.ABC <- getSamples(sample.ExpressionSet, c("A", "B", "C"), element="se.exprs")
se.ABC[1:10,]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 07:04 , Processed in 0.018584 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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