checkProbes(Repitools)
checkProbes()所属R语言包:Repitools
Check Probe Specificity for Some Regions
检查探针一些区域的特殊性
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a set of gene coordinates, and probe mappings to the genome, a plot is created across every gene region of how many probes mapped to each position.
鉴于基因组的基因坐标,和探针映射集,图跨越每多少探针映射到每个位置的基因区域创建。
用法----------Usage----------
## S4 method for signature 'data.frame,data.frame'
checkProbes(regs, probes, up = NULL, down = NULL, ...)
## S4 method for signature 'GRanges,GRanges'
checkProbes(regs, probes, up = NULL, down = NULL, ...)
参数----------Arguments----------
参数:regs
A data.frame with (at least) columns chr, start, end, strand, and name, or a GRanges object with an elementMetadata column name. The starts and ends of regions describe are the windows plotted in.
一个data.frame(至少)列chr,start,end,strand,name或GRanges对象的elementMetadata列name。开始和结束的区域描述绘制英寸的窗户
参数:probes
A data.frame describing where the probes mapped to, with (at least) columns name (identifier of a probe), chr, start, and end, or a GRanges object with an elementMetadata column name.
一个data.frame探针映射到列(至少),name(探针标识符),chr,start,end或GRanges一个elementMetadata列name对象。
参数:up
How many bases upstream to plot.
上游积许多碱基。
参数:down
How many bases downstream to plot.
许多下游图碱基。
参数:...
Line parameters passed onto matplot.
行参数传递到matplot。
Details
详情----------Details----------
If up and down are NULL, then the gene is plotted as it is described by its start and end coordinates.
如果up和down是NULL,那么该基因绘制,因为它是由它的起点和终点坐标。
This function produces a number of plots. Sending output to a PDF device is recommended.
此功能产生一些图。建议将输出发送到一个PDF设备。
值----------Value----------
A set of plots is created, one for each of the genes. The lines in the plot show where a probe hits (the x - axis) and how many places in total the probe hits in the genome (y - axis).
创建一套图,每个基因之一。在积秀行的探针命中(X - 轴)和探针在基因组中的总次数(Y - 轴)如何在许多地方。
作者(S)----------Author(s)----------
Dario Strbenac
举例----------Examples----------
p.table <- data.frame(name = c("probeA", "probeB", "probeC", "probeC", "probeC"),
strand = c('+', '-', '+', '-', '-'),
chr = c("chr1", "chr2", "chr1", "chr2", "chr2"),
start = c(20, 276, 101, 101, 151),
end = c(44, 300, 125, 125, 175))
r.table <- data.frame(name = c("gene1", "gene2", "gene3"),
chr = c("chr1", "chr2", "chr2"),
strand = c('+', '-', '+'),
start = c(20, 500, 75),
end = c(200, 800, 400))
pdf("tmp.pdf", height = 6, width = 14)
checkProbes(r.table, p.table, lwd = 4, col = "blue")
dev.off()
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|