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

R语言 GeneticsPed包 removeIndividual()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 19:08:26 | 显示全部楼层 |阅读模式
removeIndividual(GeneticsPed)
removeIndividual()所属R语言包:GeneticsPed

                                        Remove individual from pedigree
                                         从系谱个人

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

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

removeIndividual provides utility for removing individuals from a pedigree.
removeIndividual提供实用为消除个人从系谱。


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


removeIndividual(x, individual, remove="all")



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

参数:x
pedigree
系谱


参数:individual
vector of individuals
个人向量


参数:remove
character, column names of id columns and/or "all", see details
字符“,ID列和/或”所有的列名,查看详细信息


Details

详情----------Details----------

Individuals passed to argument individual will be removed from the pedigree. If there is a pedigree with individual "id" and two ascendants, say "father" and "mother", then one can pass any combination of these three id columns or "all" for all of them in short to argument remove. In case only "id" is passed to remove, individuals will be removed from the pedigree, but not from ascendant id columns, which might be a matter of interest only if specified individuals show up as ascendants for some other individuals. In case you want to remove an individual completely from the pedigree "all" must be used.
传递给参数individual的个人将被删除从系谱。如果有一个单独的“身份证”和两个长辈的血统,说“父亲”和“母亲”,然后可以通过这三个ID列的任意组合或所有的“所有”短,参数remove。的情况下,唯一的“身份证”,通过remove,个人将被删除的血统,但不能从方兴未艾的ID列,这可能是一个利益的问题,只有指定的个人表现为其他一些个人的长辈。如果你想删除的系谱“所有”完全个人必须使用。

Individuals in id column are removed via removal of the whole record from the pedigree. Individuals in ascendant id columns are only replaced by attr(x, "unknown").
通过取消整个记录从系谱个人在id列被删除。在方兴未艾的ID列的个人只attr(x, "unknown")取代。

If founder is removed, attribute extended status is changed to FALSE.
如果创始人被删除,属性扩展状态更改为false。


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


Gregor Gorjanc



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

Pedigree
Pedigree


举例----------Examples----------


  ped <- generatePedigree(3)
  summary(ped)
  removeIndividual(ped, individual=c(1, 3, 4), remove="father")
  removeIndividual(ped, individual=c(1, 3, 4), remove=c("mother", "father"))
  (ped <- removeIndividual(ped, individual=c(1, 3, 4), remove=c("all")))
  summary(ped)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 18:58 , Processed in 0.023117 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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