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

R语言 Rmagpie包 geneSubsets-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 13:00:54 | 显示全部楼层 |阅读模式
geneSubsets-class(Rmagpie)
geneSubsets-class()所属R语言包:Rmagpie

                                        geneSubsets: A class to handle the sizes of gene susbets to be tested during forward gene selection
                                         geneSubsets:A类处理基因susbets的大小测试期间提出的基因选择

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

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

Forward gene selection is usually a computationally expensive task. To reduce the computation expense one may want to do not consider one gene at a time but chunks of genes. This class store the sizes of gene susbets to be
提出基因选择通常是计算昂贵的任务。为了减少计算费用,可能需要不考虑在时间,但大块的基因的一个基因。这个类商店的基因susbets的大小是


创建对象----------Creating objects----------

new("geneSubsets", optionValues)
new("geneSubsets", optionValues)

Create a geneSubsets, the sizes of the different subsets are determined by optionValues. The size of the biggest subset maxSubsetSize and the number of subsets to be tried noOfOptions are automatically deducted. The speed is set to high is there are less models than the size of the biggest subset and 'slow' if not.
创建一个geneSubsets,不同子集的大小确定optionValues。规模最大的子集maxSubsetSize和亚群的数量要尝试noOfOptions被自动扣除。速度设置为high是有比最大的子集和“慢”,如果没有大小的模型。

new("geneSubsets", maxSubsetSize, speed="high")
new("geneSubsets", maxSubsetSize, speed="high")

Create a geneSubsets, with a biggest subset of size maxSubsetSize. If the speed is high the sizes of the subsets are increased by a power of 2 from 1 to the biggest power of 2 smaller than maxSubsetSize. If the speed is slow the sizes of the subsets are increased by 1 from 1 to the maxSubsetSize.
创建geneSubsets,最大的子集的大小maxSubsetSize。如果speed是high从1到2的幂的最大功率为2比maxSubsetSize小的子集的大小增加。如果速度slow子集的大小增加1从1到maxSubsetSize。


插槽----------Slots----------




maxSubsetSize: numeric. Size of the biggest subset
maxSubsetSize:numeric。规模最大的子集




optionValues: numeric (vector). Sizes of the subsets in acsending order
optionValues:numeric(矢量)。在acsending为了子集的大小




noOfOptions: numeric. Total number of subsets
noOfOptions:numeric。子集的总数




speed: character. Speed of the backward feature selection. high if the number of models is smaller than the size of the biggest subset,
speed:character。落后的特征选择的速度。 high如果车型的数量小于最大的子集的大小,


方法----------Methods----------

Retreive and modify the size of the biggest subset (slot maxSubsetSize)
Retreive和修改的规模最大的子集(槽maxSubsetSize)




getOptionValues(geneSubsets), getOptionValues(geneSubsets)<- Retreive
getOptionValues(geneSubsets), getOptionValues(geneSubsets)<-Retreive




getNoOfOptions(geneSubsets) Retreive the total number of subsets
getNoOfOptions(geneSubsets)Retreive总数的子集




getSpeed(geneSubsets), getSpeed(geneSubsets)<- Retreive and modify the speed of
getSpeed(geneSubsets), getSpeed(geneSubsets)<-的Retreive和修改的速度


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


Camille Maumet



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

thresholds,assessment
thresholds,assessment


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


geneSubset235 <- new("geneSubsets", optionValues=c(2,3,5))
geneSubset235
getSubsetsSizes(geneSubset235)
getSpeed(geneSubset235)
getMaxSubsetSize(geneSubset235)

geneSubsetMax60 <- new("geneSubsets", maxSubsetSize=60, speed="slow")
geneSubsetMax60

geneSubsetSlow <- new("geneSubsets", maxSubsetSize=70, speed="slow")
geneSubsetSlow

getMaxSubsetSize(geneSubsetMax60) <- 70
geneSubsetMax60

newSizes <- c(1,2,3,4,5)
getSubsetsSizes(geneSubsetMax60) <- newSizes
geneSubsetMax60

getSpeed(geneSubset235) <- 'slow'
geneSubset235

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-28 03:33 , Processed in 0.026111 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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