pedigreeCheck(GWASTools)
pedigreeCheck()所属R语言包:GWASTools
Testing for internal consistency of pedigrees
血统的内部一致性测试
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Find inconsistencies within pedigrees.
找到家系内的不一致。
用法----------Usage----------
pedigreeCheck(pedigree)
参数----------Arguments----------
参数:pedigree
A dataframe containing the pedigree information for the samples to be examined with columns labeled "family", "individ", "mother", "father" and "sex" containing the identity numbers of the family, individual, individual's mother, individual's father and individual's gender (coded as "M" or "F") .
包含的信息被标记为“家庭”,“individ”,“母亲”,“父亲”和“性”,包含家庭,个人,个人的身份证号码列检查样品的系谱一个dataframe母亲,父亲个人的和个人的性别(代号为“M”或“F”)。
Details
详情----------Details----------
The function pedigreeCheck finds any of a number of possible inconsitencies within pedigree data: single individual families, gender mismatches with mother or father, impossible relationships (either where a child is a parent of self or an individual is both a child and a parent of the same person) and families that consist of two unrelated persons. It also looks for multiple subfamilies within a family.
功能pedigreeCheck发现系谱数据内可能inconsitencies任何单个人的家庭,性别与父亲或母亲的不匹配,是不可能的关系(无论是其中一个孩子是一个自我或个人的父是孩子同一人的母公司)和两个不相干的人组成的家庭。它看起来也为一个家庭内的多个亚科。
值----------Value----------
The output for pedigreeCheck is a list with the following elements:
的pedigreeCheck输出是一个包含下列元素的列表:
参数:one.person
A vector of family ids for one-person families
一个家庭IDS的一人家庭的向量
参数:mismatch.sex
A vector of of family ids where sex of mother and/or father is incorrect
一个母亲和/或父亲的性别是不正确的家庭IDS向量
参数:impossible.related
A vector of of family ids where either child is mother of self or an individual is both child and mother of same person
一个向量是两个孩子母亲的自我或个人家庭IDS同一个人的两个孩子和母亲
参数:duos
A vector of of family ids where 'family' consists of only 2 unrelated persons
其中只有2无关人员组成“家庭”的家庭IDS向量
参数:subfamilies.ident
A matrix with columns for the family id (of 'families' with multiple subfamilies), subfamily identifier and individual of each person in the identified subfamilies. Note that subfamilies are not identified for any families already identified with problems, and that the individual id's include individuals identified as a mother or father who may not be listed as individuals in the pedigree. If no inconsistencies are found, the output is NULL.
与家庭的id列的矩阵(多个亚科的“家庭”),每个人在确定亚科亚科标识符和个人。注意亚科都没有发现任何问题,已经确定的家庭,和个人ID的包括个人不得上市谱系中的个人作为一个母亲或父亲的确定。如果没有发现不一致,则输出NULL。
注意----------Note----------
Subfamilies are not identified for any families already identified with problems, and individual id's in subfamilies may include individual ids listed for a mother or father who may not be listed as individuals in the pedigree.
亚科都没有发现任何问题,已经确定的家庭,和个人的ID是在亚科可能包括上市不得上市谱系中的个人的母亲或父亲的个人ID。
作者(S)----------Author(s)----------
Cecilia Laurie
参见----------See Also----------
pedigreeClean, pedigreeFindDuplicates, pedigreePairwiseRelatedness
pedigreeClean,pedigreeFindDuplicates,pedigreePairwiseRelatedness
举例----------Examples----------
family <- c(1,1,1,2,2,2,3)
individ <- c(1,2,3,4,5,6,7)
mother <- c(0,0,1,0,0,4,0)
father <- c(0,0,2,0,0,5,0)
sex <- c("F","M","F","F","F","M","M")
pedigree <- data.frame(family, individ, mother, father, sex)
pedigreeCheck(pedigree)
#$one.person[美元one.person]
#[1] 3[[1] 3]
#$mismatch.sex[美元mismatch.sex]
#[1] 2[[1] 2]
#$impossible.related[美元impossible.related]
#NULL[为NULL]
#$subfamilies.ident[美元subfamilies.ident]
#data frame with 0 columns and 0 rows[0列和行的数据框]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|