getFeatures(HELP)
getFeatures()所属R语言包:HELP
Get features (methods)
获取功能(方法)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fetch a subset of features from a given data structure
取功能的一个子集,从一个给定的数据结构
用法----------Usage----------
getFeatures(x, y, ...)
参数----------Arguments----------
参数:x
the matrix of feature data to subset. If x is a vector it is interpreted as a matrix. x can also be of class "ExpressionSet" or an "AnnotatedDataFrame" object.
矩阵的特征数据子集。 x如果是它被解释为矩阵的向量。 x类"ExpressionSet"或"AnnotatedDataFrame"对象也可以。
参数:y
which feature(s) to use. Can be a vector of characters matching feature names, integers indicating which features to choose, or a mixture of the two. If not supplied (or if equivalent to "*"), all features will be used.
这功能(S)使用。可以是一个矢量字符匹配的功能名称,整数,指示选择哪些功能,或两者的混合物。如果不提供(或如果等于"*"),所有的功能将被使用。
参数:...
other arguments passed are not handled at this time.
通过其他参数都没有在这个时间处理。
值----------Value----------
Returns a matrix of values corresponding to a subset of features from the data structure supplied, where columns correspond to features. Function halts if no features to return.
返回一个值的矩阵对应的功能,从提供的数据结构,其中列对应功能的一个子集。功能停止,如果没有返回的功能。
作者(S)----------Author(s)----------
Reid F. Thompson (<a href="mailto:rthompso@aecom.yu.edu">rthompso@aecom.yu.edu</a>)
参见----------See Also----------
getFeatures-methods
getFeatures-methods
举例----------Examples----------
data(sample.ExpressionSet)
df <- data.frame(x=1:500,y=501:1000, row.names=featureNames(sample.ExpressionSet))
featureData(sample.ExpressionSet) <- new("AnnotatedDataFrame", data=df, dimLabels=c("featureNames", ""))
getFeatures(sample.ExpressionSet, "y")[1:10]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|