找回密码
 注册
查看: 524|回复: 0

R语言 SimHap包 make.haplo.rare()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:47:05 | 显示全部楼层 |阅读模式
make.haplo.rare(SimHap)
make.haplo.rare()所属R语言包:SimHap

                                        Group rare haplotypes together
                                         集团罕见的单倍型

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

make.haplo.rare groups haplotypes with frequencies below a specified threshold together and processes data into a format compatible with the haplotype analysis functions
make.haplo.rare组单倍型频率低于指定的阈值和处理数据的单倍型的分析功能兼容的格式


用法----------Usage----------


make.haplo.rare(infer.object, min.freq)



参数----------Arguments----------

参数:infer.object
result of a call to infer.haplos.
结果的呼叫infer.haplos。


参数:min.freq
minimum frequency of haplotypes to include in analysis. Haplotype with a frequency below this value will be grouped together in a group called "rare".
包括在分析中的单倍型的最小频率。单倍型频率低于这个值将被组合在一起的一组被称为“罕见”。


值----------Value----------


参数:hapData
A data frame containing all haplotype configurations and their posterior probabilities for each individual, grouping rare haplotypes into a category called "rare".
一个数据框包含所有单倍型配置及其后验概率的每一个人,将罕见的单倍型为一类被称为“罕见”。


参数:hapObject
A list containing the original haplotype information for each individual as well as haplotype frequency tables
一个列表,其中包含原来的单倍型为每一个人的信息以及单倍型频率表


(作者)----------Author(s)----------


Pamela A. McCaskie



参考文献----------References----------



参见----------See Also----------

infer.haplos
infer.haplos


实例----------Examples----------



data(SNP.dat)

# convert SNP.dat to format required by infer.haplos[SNP.dat转换,格式化所需的infer.haplos]
haplo.dat <- SNP2Haplo(SNP.dat)

data(pheno.dat)

# generate haplotype frequencies and haplotype design matrix[产生单倍型频率和单倍型设计矩阵]
myinfer<-infer.haplos(haplo.dat)

# print haplotype frequencies generated by infer.haplos[打印单倍型频率所产生的infer.haplos]
myinfer$hap.freq

# generate haplo object where haplotypes with a frequency [单倍型的频率产生单倍体对象]
# below min.freq are grouped as a category called "rare"[下面min.freq分为一类被称为“罕见”]
myhaplo<-make.haplo.rare(myinfer,min.freq=0.05)
mymodel <- haplo.quant(formula1=HDL~AGE+SBP+h.N1AA, formula2=HDL~AGE+SBP,
        pheno=pheno.dat, haplo=myhaplo, sim=10)



转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-25 04:40 , Processed in 0.028281 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表