plot.haploAccum(spider)
plot.haploAccum()所属R语言包:spider
Plotting haplotype accumulation curves
绘制单倍型累积曲线
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plots the accumulation curves calculated by haploAccum.
绘制累积曲线计算的haploAccum。
用法----------Usage----------
## S3 method for class 'haploAccum'
plot(x, add = FALSE, ci = 2, ci.type = c("bar","line","polygon"),
col = par("fg"), ci.col = col, ci.lty = 1, xlab, ylab = "Haplotypes", ylim,
main = paste(x$method, "method of haplotype accumulation", sep=" "), ...)
参数----------Arguments----------
参数:x
A "haploAccum" object obtained from haploAccum.
获得haploAccumAhaploAccum“的对象。
参数:add
Add graph to an existing graph.
将图形添加到现有的图形。
参数:ci
Multiplier for the calculation of confidence intervals from standard deviation. ci = 0 prevents the drawing of confidence intervals.
乘法器,用于从标准偏差计算的置信区间。 ci = 0防止绘图的置信区间。
参数:ci.type
Type of confidence intervals: "bar" for vertical bars, "line" for lines, and "polygon" for a shaded area.
类型的置信区间:"bar"竖向杆件的,"line"线,和"polygon"的阴影区域。
参数:col
Colour for curve line.
曲线线的颜色。
参数:ci.col
Colour for lines or shaded area when "polygon".
线或阴影区域的颜色"polygon"。
参数:ci.lty
Line type for confidence interval lines or border of the "polygon".
置信区间线或边界的"polygon"的线路类型。
参数:xlab
Label for the X-axis.
出版商为X-轴。
参数:ylab
Label for the Y-axis.
出版商为Y轴。
参数:ylim
Y-axis limits.
Y-轴的限制。
参数:main
Title of the plot.
标题的图。
参数:...
Other parameters to pass to plot.
其他参数传递给图。
值----------Value----------
Plots a haplotype accumulation curve and confidence intervals depending on the options given to haploAccum.
绘制一个单倍型累积曲线,根据所给出的选项到haploAccum的置信区间。
(作者)----------Author(s)----------
Jagoba Malumbres-Olarte <j.malumbres.olarte@gmail.com>.
参考文献----------References----------
实例----------Examples----------
data(dolomedes)
#Generate multiple haplotypes[生成多个单倍型]
doloHaplo <- dolomedes[sample(37, size = 200, replace = TRUE), ]
dolocurv <- haploAccum(doloHaplo, method = "random", permutations = 100)
plot(dolocurv)
plot(dolocurv, add = FALSE, ci = 2, ci.type = "polygon", col = "blue", ci.col = "red",
ci.lty = 1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|