dscore(SNPassoc)
dscore()所属R语言包:SNPassoc
Genetic risk allele score
遗传风险等位基因得分
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the exact distribution of a genetic risk allele score
计算的确切分布的遗传危险等位基因得分
用法----------Usage----------
dscore(x, ...)
## Default S3 method:[默认方法]
dscore(x, ...)
## S3 method for class 'setupSNP'
dscore(x, ...)
参数----------Arguments----------
参数:x
a vector of probabilities representing the MAF of each SNP or an object of class setupSNP.
一个矢量代表MAF的每个SNP或对象类setupSNP的的的的概率。
参数:...
further arguments to be passed to or from methods.
通过进一步的论据或方法。
值----------Value----------
A vector with probabilities for each allele count
一个向量,其概率为每个等位基因数
参考文献----------References----------
Lucas G, et al. (2011). Submitted to American Journal of Human Genetics
参见----------See Also----------
snp, setupSNP
snp, setupSNP
实例----------Examples----------
# example with 4 SNPs - the user gives the probabilities[例如,有4个SNP位点 - 用户提供了可能性]
MAFs <- c(0.1, 0.07, 0.2, 0.4)
dscore(MAFs)
# example with 4 SNPs - using setupSNP[例如,4个SNP位点 - 使用setupSNP]
data(SNPs)
myDat<-setupSNP(SNPs,6:10,sep="")
dscore(myDat)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|