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

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

[复制链接]
发表于 2012-2-25 21:25:00 | 显示全部楼层 |阅读模式
ibdPlot(GWASTools)
ibdPlot()所属R语言包:GWASTools

                                         Plot theoretical and observed identity by descent values and assign relationships
                                         图理论和观测的身份血统的价值观和分配关系

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

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

ibdPlot produces an IBD plot showing observed identity by descent values color coded by expected relationship. Theoretical boundaries for full-sib, half-sib, and first-cousins are plotted in orange. ibdAreasDraw overlays relationship areas for IBD analysis on the plot. ibdAssignRelatedness identifies observed relatives.
ibdPlot产生鸡传染性法氏囊病的图,显示观察到预期的关系编码的下降值的颜色标识。全同胞,半同胞,和第一个表的理论边界绘制橙色。 ibdAreasDraw覆盖关系区域鸡传染性法氏囊病对图的分析。 ibdAssignRelatedness识别观测到的亲属。


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


ibdPlot(k0, k1, alpha=0.05, relation=NULL, color=NULL, rel.lwd=2, ...)

ibdAreasDraw(alpha=.05, m=0.04, po.w=0.1, po.h=0.1,
             dup.w=0.1, dup.h=0.1, un.w=0.25, un.h=0.25, rel.lwd=2,
             xcol=c("cyan","red","blue","lightgreen","magenta","black"))

ibdAssignRelatedness(k0, k1, alpha=0.05, m=0.04, po.w=0.1, po.h=0.1,
                     dup.w=0.1, dup.h=0.1, un.w=0.25, un.h=0.25)



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

参数:k0
A vector of k0 values.
K0值的向量。


参数:k1
A vector of k1 values.
K1值向量。


参数:alpha
significance level - finds 100(1-alpha)% prediction intervals for half-sibs and first cousins and 100(1-alpha)% prediction ellipse for full-sibs   
显着性水平 - 发现100(1-α)%的预测区间为半同胞和第一堂兄弟和100%(1-α)全同胞的预测椭圆


参数:relation
A vector of relationships.
一个关系的向量。


参数:color
A vector of colors for (k0,k1) points.
一个点的颜色(K0,K1)的向量。


参数:rel.lwd
Line width for theoretical full-sib, half-sib, and first-cousin boundaries.
理论全同胞,半同胞,第一表弟边界线宽度。


参数:...
Other graphical parameters to pass to plot and points.
其他图形参数传递给plot和points。


参数:m
width of rectangle along diagonal line
沿对角线的矩形的宽度


参数:po.w
width of parent-offspring rectangle
家长后代矩形的宽度


参数:po.h
height of parent-offspring rectangle
家长后代矩形的高度


参数:dup.w
width of duplicate rectangle
重复的矩形的宽度


参数:dup.h
height of duplicate rectangle
高度重复的矩形


参数:un.w
width of unrelated rectangle
宽度无关矩形的


参数:un.h
height of unrelated rectangle
高度无关矩形的


参数:xcol
colors for parent-offspring, full-sib, half-sib, first cousin, dup & unrelated areas
颜色为父母的后代,全同胞,半同胞,堂兄,DUP无关的领域


Details

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

ibdPlot produces an IBD plot showing observed identity by descent values color coded by expected relationship, typically as deduced from pedigree data.  Points are plotted according to their corresponding value in the color vector, and the relation vector is used to make the plot legend.
ibdPlot产生鸡传染性法氏囊病呈现下降值的颜色编码预期的关系,通常从系谱数据推断观察身份的图。点绘制根据他们color向量的相应值,relation向量用图例。

Theoretical boundary for full-sibs is indicated by ellipse and boundaries for half-sib and first cousin intervals are indicated in orange. For full-sibs, 100(1-alpha)% prediction  ellipse is based on assuming bivariate normal distribution with known mean and covariance matrix. For half-sibs and first-cousins, 100(1-alpha)% prediction intervals for k1 are based on assuming normal distribution with known mean and variance.
全同胞的理论边界椭圆形和半同胞和堂兄间隔边界表示,橙色表示。对于全同胞,100(1-α)%的预测是基于椭圆假设与已知的均值和协方差矩阵的二元正态分布。对于半同胞和第一堂兄弟,100(1-α)%的预测区间为K1的基础上与已知的均值和方差的正态分布假设。

ibdAreasDraw overlays relationship areas on the plot to help with analyzing observed relationships. For full-sibs, 100(1-alpha)% prediction  ellipse is based on assuming bivariate normal distribution with known mean and covariance matrix. For half-sibs and first-cousins, 100(1-alpha)% prediction intervals for k1 are based on assuming normal distribution with known mean and variance.
ibdAreasDraw覆盖图关系的领域,以帮助分析观察到的关系。对于全同胞,100(1-α)%的预测是基于椭圆假设与已知的均值和协方差矩阵的二元正态分布。对于半同胞和第一堂兄弟,100(1-α)%的预测区间为K1的基础上与已知的均值和方差的正态分布假设。

ibdAssignRelatedness identifies relatives based on their (k0, k1) coordinates.
ibdAssignRelatedness标识亲属根据他们(K0,K1)的坐标。


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

ibdAssignRelatedness returns a vector of relationships with values "Dup"=duplicate, "PO"=parent-offspring, "FS"=full sibling, "HS"=half-sibling-like, "FC"=first cousin, "U"=unrelated, and "Q"=unknown.
ibdAssignRelatedness返回值关系的向量“DUP”复制“宝”=父的后代,“财政司司长”=全同胞,“房协”半兄弟一样,“功能界别” ; =堂兄,“U”型=无关,和“Q”=未知。


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


Cathy Laurie and Cecelia Laurie



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

relationsMeanVar
relationsMeanVar


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


k0 <- c(0, 0, 0.25, 0.5, 0.75, 1)
k1 <- c(0, 1, 0.5, 0.5, 0.25, 0)
exp.rel <- c("Dup", "PO", "FS", "HS", "FC", "U")
ibdPlot(k0, k1, relation=exp.rel)
ibdAreasDraw()
obs.rel <- ibdAssignRelatedness(k0, k1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 13:03 , Processed in 0.029870 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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