plot.genominator.coverage(Genominator)
plot.genominator.coverage()所属R语言包:Genominator
Create coverage plot
创建覆盖面积
译者:生物统计家园网 机器人LoveR
描述----------Description----------
S3 method to plot genominator.coverage object. Shows coverage as a function of plotting effort.
S3方法绘制genominator.coverage对象。显示为一个图努力的功能覆盖。
用法----------Usage----------
plot.genominator.coverage(x, type = "l", col = NULL,
draw.totals = TRUE, draw.legend = TRUE, legend.location = NULL, ...)
参数----------Arguments----------
参数:x
An object of class genominator.coverage, as returned by computeCoverage.
一个类的对象genominator.coverage,computeCoverage返回。
参数:type
Plot type. See plot.
图类型。看到plot。
参数:col
Vector of plotting colors.
矢量绘图颜色。
参数:draw.totals
Logical indicating whether totals should be drawn.
逻辑指示是否应制定总数。
参数:draw.legend
Logical indicating whether legend should be drawn.
逻辑指示是否应提请传说。
参数:legend.location
Vector giving x and y coordinates of legend position.
媒介给x和y的传奇地位的坐标。
参数:...
Additional arguments for lower-level functions.
低级函数的附加参数。
值----------Value----------
This method is used for its side effect.
此方法用于其副作用。
作者(S)----------Author(s)----------
James Bullard <a href="mailto:bullard@berkeley.edu">bullard@berkeley.edu</a>, Kasper Daniel
Hansen <a href="mailto:khansen@jhsph.edu">khansen@jhsph.edu</a>
参见----------See Also----------
See Genominator vignette for more information. See also computeCoverage.
看到Genominator更多信息插曲。还可以看computeCoverage。
举例----------Examples----------
ed <- ExpData(system.file(package = "Genominator", "sample.db"),
tablename = "raw")
data("yeastAnno")
a <- computeCoverage(ed, yeastAnno, effort = 2^(5:18),
cutoff = function(x, ...) x > 1)
plot(a, lwd = 5, col = "grey")
plot(a, draw.totals = FALSE)
ygroups <- rep(c("mut", "wt"), c(2,2))
b <- computeCoverage(ed, yeastAnno, grups = ygroups,
effort = 2^(5:18), cutoff = function(x, ...) x > 1)
plot(b)
b <- computeCoverage(ed, yeastAnno, groups = ygroups,
effort = 2^(5:18), cutoff = function(x, ...) x > 3,
smooth = function(probs) {
probs = probs + min(probs[probs!=0])
probs = probs/sum(probs)
})
plot(b)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|