make.geno(SNPassoc)
make.geno()所属R语言包:SNPassoc
Create a group of locus objects from some SNPs, assign to 'model.matrix' class.
创建一个组的一些单核苷酸多态性位点对象,的分配给的“model.matrix”类。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function prepares the CRITICAL element corresponding to matrix of genotypes necessary to be included in 'haplo.glm' function.
此功能准备CRITICAL元件,对应于要被包括在“haplo.glm功能的基因型矩阵。
用法----------Usage----------
make.geno(data, SNPs.sel)
参数----------Arguments----------
参数:data
an object of class 'setupSNP' containing the the SNPs that will be used to estimate the haplotypes.
对象类的setupSNP含有的单核苷酸多态性,将被用来估计单倍型。
参数:SNPs.sel
a vector indicating the names of SNPs that are used to estimate the haplotypes
的矢量表示的SNP位点的名称,用于估计单倍型
值----------Value----------
the same as 'setupGeno' function, from 'haplo.stats' library, returns
一样“setupGeno”功能,从“图书馆haplo.stats,返回
参见----------See Also----------
snp
snp
实例----------Examples----------
## Not run:[#不运行:]
data(SNPs)
# first, we create an object of class 'setupSNP'[首先,我们创建对象类的setupSNP“]
datSNP<-setupSNP(SNPs,6:40,sep="")
geno<-make.geno(datSNP,c("snp10001","snp10002","snp10003"))
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|