getDataset-methods(Rmagpie)
getDataset-methods()所属R语言包:Rmagpie
getDataset Method to access the attributes of a dataset from an assessment
GetDataSet方法访问数据集的属性评估
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This method provides an easy interface to access the attributes of a dataset directly from an object assessment. The argument topic specifies which part of the dataset is of interest.
这种方法提供了一个简单的接口来访问数据集的属性,直接从对象评估。参数topic指定数据集的一部分利益。
参数----------Arguments----------
参数:object
Object of class assessment. Object assessment of interest
Object of class assessment。感兴趣的对象评估
参数:topic
character. Optional argument that specifies which attribute of the dataset is requested, the possible values are "dataId" (slot dataId of the dataset), "dataPath" (slot dataPath of the dataset), "geneExprFile" (slot geneExprFile of the dataset), "classesFile" (slot classesFile of the dataset), "eset" (slot eset of the dataset) if the "topic" is missing then the whole dataset object is returned.
character。可选的参数指定数据集的属性要求,可能的值是"dataId"(插槽dataId数据集),"dataPath"(槽的数据集的数据通路),"geneExprFile"(槽geneExprFile数据集),"classesFile"(数据集的的插槽classesFile),,"eset"(集插槽ESET)如果“"topic"是缺少那么整个数据集对象返回。
值----------Value----------
The value returned by the method changes accordingly to the "topic" argument.
返回值的方法改变相应的"topic"参数。
If "topic" is missing object of class dataset the dataset corresponding to the assessment of interest
如果"topic"失踪object of class dataset利益的评估相应的数据集
If "topic" is "dataId" object of class character corresponding to the dataId of the dataset
如果"topic"是"dataId"object of class characterdataId数据集对应
If "topic" is "dataPath" object of class character corresponding to the dataPath of the dataset
如果"topic"是"dataPath"object of class characterdataPath数据集对应
If "topic" is "geneExprFile" object of class character corresponding to the geneExprFile of the dataset
如果"topic"是"geneExprFile"object of class charactergeneExprFile数据集对应
If "topic" is "classesFile" object of class character corresponding to the classesFile of the dataset
如果"topic"是"classesFile"object of class characterclassesFile数据集对应
If "topic" is "eset" object of class ExpressionSetOrNull corresponding to the eset of the dataset
如果"topic"是"eset"object of class ExpressionSetOrNulleset数据集对应
方法----------Methods----------
object = "assessment" The method is only applicable on objects of class
对象=“评估”的方法只适用于类对象
作者(S)----------Author(s)----------
Camille Maumet
参见----------See Also----------
assessment
assessment
举例----------Examples----------
#dataPath <- file.path("C:", "Documents and Settings", "c.maumet", "My Documents", "Programmation", "Sources", "SVN", "R package", "data")[数据通路(< - file.path的“C:”,“文件和设置”,“c.maumet”,“我的文档”,“Programmation”,“源”,“SVN的”,“R包”,“数据” )]
#aDataset <- new("dataset", dataId="vantVeer_70", dataPath=dataPath)[aDataset < - 新(“数据集”,“dataId =”vantVeer_70,数据通路=数据通路)]
#aDataset <- loadData(aDataset)[aDataset < - 的LoadData(aDataset)]
data('vV70genesDataset')
expeOfInterest <- new("assessment", dataset=vV70genes,
noFolds1stLayer=10,
noFolds2ndLayer=9,
classifierName="svm",
typeFoldCreation="original",
svmKernel="linear",
noOfRepeat=2,
featureSelectionOptions=new("geneSubsets", optionValues=c(1,2,3,4,5,6)))
getDataset(expeOfInterest)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|