pair.result.ld.snp(chopsticks)
pair.result.ld.snp()所属R语言包:chopsticks
Function to calculate the pairwise D', $r^2$, LOD of
函数计算成对D“,$ R ^ 2的LOD
译者:生物统计家园网 机器人LoveR
描述----------Description----------
pair.result.ld.snp.Rd calculates the pairwise D', $r^2$, LOD of a pair of specified SNPs in a snp.matrix object. This is used mainly for debugging.
pair.result.ld.snp.Rd计算成对D“,$ R ^ 2美元,对指定的单核苷酸多态性的LODsnp.matrix对象。这主要是用来调试。
用法----------Usage----------
pair.result.ld.snp(snpdata, loc.snpA, loc.snpB)
参数----------Arguments----------
参数:snpdata
An object of snp.matrix class with M samples of N snps
一个snp.matrixM样点的N个SNPs类的对象
参数:loc.snpA
index of the first snp; should be between 1 and N
1和N之间应该第一SNP指数;
参数:loc.snpB
index of the second snp; should be between 1 and N
1和N之间应该是第二个SNP指数;
值----------Value----------
Returns nothing. Results are displayed in stdout/console.
返回Nothing。结果显示在标准输出/控制台。
注意----------Note----------
Not really recommended for daily usage; the result isn't saved anywhere and this routine is primarily for debugging the details and correctness of the calculation.
建议日常使用没有真正的结果不会被保存在任何地方,这个程序主要是用于调试的详细信息和计算的正确性。
作者(S)----------Author(s)----------
Hin-Tak Leung <a href="mailto:htl10@users.sourceforge.net">htl10@users.sourceforge.net</a>
参考文献----------References----------
whole-genome association studies. Human Heredity 64:45-51.<br> GSL (GNU Scientific Library) http://www.gnu.org/software/gsl/
参见----------See Also----------
snp.matrix-class
snp.matrix-class
举例----------Examples----------
data(testdata)
pair.result.ld.snp(Autosomes, 1, 2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|