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

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

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

                                         Manhattan plot for genome wide association tests
                                         全基因组关联测试曼哈顿图

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

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

Generates a manhattan plot of the results of a genome wide association test.
生成的全基因组关联测试结果的曼哈顿图。


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


manhattanPlot(p, chromosome,
              chrom.labels = c(1:22,"X","XY","Y","M"),
              ylim = NULL, trunc.lines = TRUE, ...)



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

参数:p
A vector of p-values.
p值向量。


参数:chromosome
A vector containing the integer chromosome ID for each SNP.
包含整数染色体编号为每个SNP的一个向量。


参数:chrom.labels
A vector of chromosome names to use in the plot.
染色体名向量使用中的图。


参数:ylim
The limits of the y axis.  If NULL, the y axis is (0,     log10(length(p)) + 4).
y轴的限制。如果为NULL,y轴是(0,     log10(length(p)) + 4)。


参数:trunc.lines
Logical value indicating whether to show truncation lines.
逻辑值,该值指示是否显示截断线。


参数:...
Other parameters to be passed directly to plot.
其他参数将直接传递到plot。


Details

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

Plots -log10(p) versus chromosome.  Point size is scaled so that smaller p values have larger points.
图LOG10(P)与染色体。使较小的p值有较大的点,点的大小缩放。

Plot limits are determined as follows: if ylim is provided, any points with -log10(p) > ylim[2] are plotted as triangles at the maximum y value of the plot.  A line will be drawn to indicate trunctation (if trunc.lines == TRUE, the default).  If ylim == NULL, the maximum y value is defined as log10(length(p)) + 4).
图限制决定如下:ylim如果提供任何与-log10(p) > ylim[2]为三角形绘制在图的最大y值点。 A线将被绘制,表明trunctation(如果trunc.lines == TRUE,默认)。 ylim == NULL如果,最大y值被定义为log10(length(p)) + 4)。


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


Cathy Laurie




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

snpCorrelationPlot
snpCorrelationPlot


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


n <- 1000
pvals <- sample(-log10((1:n)/n), n, replace=TRUE)
chromosome <- c(rep(1,500), rep(2,500))
manhattanPlot(pvals, chromosome, chrom.labels=c(1,2))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 10:02 , Processed in 0.026277 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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