plotLocation(affy)
plotLocation()所属R语言包:affy
Plot a location on a cel image
绘制上CEL图像的位置
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plots a location on a previously plotted cel image. This can be used to locate the physical location of probes on the array.
绘制以前绘制CEL形象上的位置。这可以用来定位的探针阵列上的物理位置。
用法----------Usage----------
plotLocation(x, col="green", pch=22, ...)
参数----------Arguments----------
参数:x
a "location". It can be obtained by the method of AffyBatch indexProbes, or made elsewhere (basically a location is nrows and two columns array. The first column corresponds to the x positions and the second columns corresponds to the y positions of n elements to locate).
“位置”。它可以得到的方法AffyBatchindexProbes,或在其他地方(位置基本上是NROWS和两列数组第一列对应的x位置,第二列对应y的位置n个元素的定位)。
参数:col
colors for the plot.
颜色的图。
参数:pch
plotting type (see function plot).
绘图类型(见功能plot)。
参数:...
other parameters passed to the function points.
其他参数传递给函数points。
作者(S)----------Author(s)----------
Laurent
参见----------See Also----------
AffyBatch
AffyBatch
举例----------Examples----------
if (require(affydata)) {
data(Dilution)
## image of the celfile[#的celfile形象]
image(Dilution[, 1])
## genenames, arbitrarily pick the 101th[#genenames,随意挑了第101]
n <- geneNames(Dilution)[101]
## get the location for the gene n[#基因N的位置。]
l <- indexProbes(Dilution, "both", n)[[1]]
## convert the index to X/Y coordinates[#X / Y坐标转换指数]
xy <- indices2xy(l, abatch=Dilution)
## plot[#积]
plotLocation(xy)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|