inheritance(SNPassoc)
inheritance()所属R语言包:SNPassoc
Collapsing (or recoding) genotypes into different categories (generally two) depending on a given genetic mode of inheritance
倍数(或重新编码)分成不同的类别(一般为两个),根据对一个给定的遗传模式的继承基因型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
codominant function recodifies a variable having genotypes depending on the allelic frequency in descending order. <br>
共显性的功能recodifies变量基因型的等位基因频率降序排列。参考
dominant, recessive, and overdominant functions collapse the three categories of a given SNP into two categories as follows: Let 'AA', 'Aa', and 'aa' be the three genotypes. After determining the most frequent allele (let's suppose that 'A' is the major allele) the functions return a vector with to categories as follows. dominant: 'AA' and 'Aa-aa'; recessive: 'AA-Aa' and 'aa'; overdominant: 'AA-aa' vs 'Aa'. <br>
显性,隐性,和超显性功能倍数的三个类别的一个给定的SNP分为两类如下:设“AA”,“AA”,并使用aa的三种基因型。在确定最常见的等位基因(让我们假设A是主要的等位基因)函数返回一个向量,其分类如下。优势:AA和AA-AA隐性:AA-AA“和”AA“;超显性:AA-AA与AA。参考
additive function creates a numerical variable, 1, 2, 3 corresponding to the three genotypes sorted
添加剂函数创建数值变量,1,2,3对应于三种基因型的排序条件
用法----------Usage----------
codominant(o)
dominant(o)
recessive(o)
overdominant(o)
additive(o)
参数----------Arguments----------
参数:o
categorical covariate having genotypes
分类协基因型
实例----------Examples----------
data(SNPs)
dominant(snp(SNPs$snp10001,sep=""))
overdominant(snp(SNPs$snp10001,sep=""))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|