classifyLDAsc(maigesPack)
classifyLDAsc()所属R语言包:maigesPack
Function to do discrimination analysis, by the search and choose method
功能做判别分析,通过搜索和选择方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function to search by groups of few genes, also called cliques, that can discriminate (or classify) between two distinct biological sample types, using the Fisher's linear discriminant analysis. This function uses the search and choose method.
搜索功能也叫拉帮结派,少数基因组,可以区分两种截然不同的生物样品类型(或分类)之间,使用Fisher线性判别分析。此函数使用的搜索和选择方法。
用法----------Usage----------
classifyLDAsc(obj=NULL, sLabelID="Classification", func="wilcox.test",
facToClass=NULL, gNameID="GeneName", geneGrp=1, path=NULL,
nGenes=3, cliques=100, sortBy="cv")
参数----------Arguments----------
参数:obj
object of class maiges to search the classifiers.
类对象maiges搜索分类。
参数:sLabelID
character string with the identification of the sample label to be used.
样品标签标识要使用的字符串。
参数:func
string specifying the function to be used to search by the initial one-dimensional classifiers, like 'wilcox.test' or 't.test'.
字符串指定的功能,用于搜索由最初的一维量词,如“wilcox.test或t.test。
参数:facToClass
named list with 2 character vectors specifying the samples to be compared. If NULL (default) the first 2 types of sLabelID are used.
一个名为list指定的样品进行比较,有2个字符向量。如果NULL(默认值)的第2的sLabelID类型。
参数:gNameID
character string with the identification of gene label ID.
基因标签的ID识别的字符串。
参数:geneGrp
character or integer specifying the gene group to be tested (colnames of GeneGrps slot). If both geneGrp and path are NULL all genes are used. Defaults to 1 (first group).
字符或整数,指定的基因组进行测试(colnamesGeneGrps插槽)。如果这两个geneGrp和path是NULL,所有的基因被用来。默认为1(第一组)。
参数:path
character or integer specifying the gene network to be tested (names of Paths slot). If both geneGrp and path are NULL all genes are used. Defaults to NULL.
字符或整数,指定的基因网络进行测试(namesPaths插槽)。如果这两个geneGrp和path是NULL,所有的基因被用来。默认为空。
参数:nGenes
integer specifying the number of genes in the clique, or classifier.
整数,指定在集团,或分类的基因数量。
参数:cliques
integer specifying the number of cliques or classifiers to be generated.
整数,指定拉帮结派或将要生成的分类。
参数:sortBy
character string with the field to be sorted. May be 'cv' (default) or 'svd'.
同场的字符的字符串进行排序。可能是“CV”(默认)或“SVD”。
Details
详情----------Details----------
This function implements the method known as Search and choose proposed by Cristo (2003). If you want to use an exhaustive search use the function classifyLDA.
此功能实现作为搜索已知的方法和选择基督山(2003)提出。如果你想用穷举搜索使用功能classifyLDA。
This method uses the function lda from package MASS to search by classifiers using Fisher's linear discriminant analysis. It is possible to search classifiers by Support Vector Machines and k-nearest neighbour classifiers using the functions classifySVMsc and classifyKNNsc, respectively.
这种方法使用的功能lda从包质量,以搜寻使用Fisher线性判别分析分类。这是可能的搜索支持向量机和k-最近邻分类器使用的功能classifySVMsc和classifyKNNsc,分别分类。
值----------Value----------
The result of this function is an object of class maigesClass.
这个函数的结果是一个对象类maigesClass。
作者(S)----------Author(s)----------
Elier B. Cristo, adapted by Gustavo H. Esteves <<a href="mailto:gesteves@vision.ime.usp.br">gesteves@vision.ime.usp.br</a>>
参考文献----------References----------
Microarray. Masther's thesis, Instituto de Matematica e Estatistica - Universidade de Sao Paulo, 2003 (in portuguese).
参见----------See Also----------
lda, classifyLDA, classifySVMsc and classifyKNNsc.
lda,classifyLDA,classifySVMsc和classifyKNNsc。
举例----------Examples----------
## Loading the dataset[#载入数据集]
data(gastro)
## Doing LDA classifier with 2 genes for the 6th gene group comparing[#与2基因6的比较基因组LDA的分类]
## the 2 categories from 'Type' sample label.[#2从“类型”样品标签类别。]
gastro.class = classifyLDAsc(gastro.summ, sLabelID="Type",
gNameID="GeneName", nGenes=2, geneGrp=1, cliques=10)
gastro.class
## To do classifier with 3 genes for the 6th gene group comparing[#6的比较基因组与3个基因的分类]
## normal vs adenocarcinomas from 'Tissue' sample label[#正常与腺癌,从“组织”样品标签]
gastro.class = classifyLDAsc(gastro.summ, sLabelID="Tissue",
gNameID="GeneName", nGenes=3, geneGrp=1, cliques=10,
facToClass=list(Norm=c("Neso","Nest"), Ade=c("Aeso","Aest")))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|