xyplot(VanillaICE)
xyplot()所属R语言包:VanillaICE
Plot copy number and physical position for a set of genomic intervals.
图拷贝数和一组基因组的时间间隔的物理位置。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot copy number and physical position given by a CNSet object for a set of genomic intervals stored in a RangedDataCVN object.
图拷贝数和CNSet对象的基因组间隔的一组存储的由RangedDataCVN对象的物理位置。
用法----------Usage----------
xyplot(x, data, ...)
xyplot2(x, data, range, frame=50e3L, ...)
参数----------Arguments----------
参数:x
A formula. Currently, the formula must be one of cn~x, cn ~ x | id or cn ~ x | range.
Aformula。目前,该公式必须是一个cn~x,cn ~ x | id或cn ~ x | range。
参数:data
A CNSet or SnpSet object.
一个CNSet或SnpSet对象。
参数:...
A RangedDataCNV object must be passed by the name 'range'. Arguments for xyplot are passed to xyplot2. Additional arguments are passed to xypanel and panel.xyplot.
一个RangedDataCNV对象必须通过名称范围。 xyplot参数传递xyplot2的。额外的参数传递给xypanel和panel.xyplot。
参数:range
A RangedDataCNV object.
一个RangedDataCNV对象。
参数:frame
The genomic distance (basepairs) to the left and right of the start and stop coordinates in the range object.
基因组的距离(碱基对)到range对象的左和右的启动和停止的坐标。
Details
详情----------Details----------
For a given RangedDataCNV object, this function will plot the copy number estimates versus physical position. The function is particularly useful for multi-panel displays in which the copy number estimates for a single range of the RangedDataCNV object appears in one panel. The size of the multi-panel display depends on the number of ranges (rows) in the RangedDataCNV object. Typically, one would want to pass no more than 10 ranges to the xyplot function.
对于一个给定的RangedDataCNV对象,这个函数将绘制的物理位置与拷贝数的估计。多显示器在一个单一RangedDataCNV对象范围的拷贝数估计会出现一个面板,该功能是非常有用的。多显示器的大小取决于数(行)在RangedDataCNV对象的范围。通常情况下,一会要传递范围不超过10xyplot功能。
For genomic intervals of interest in the RangedDataCNV, it is often helpful to 'frame' the interval by plotting the data surrounding the interval. To facilitate this process, one may pass an argument called frame (an integer) that indicates the number of basepairs to the left and right of the start / stop points in the interval. By default, the first interval in the RangedDataCNV object will be plotted in the lower left panel and the last interval RangedDataCNV object will be plotted in the upper right panel. Overplotting the copy number data in each panel is a rectangle that indicates the start and stop coordinates in the RangedDataCNV object.
RangedDataCNV兴趣的基因组间隔,它往往是有益的“框架”周围的时间间隔的数据绘制的时间间隔。为了促进这一进程,人们可以通过称为frame(整数)的碱基对数量的说法,表示在区间的开始/停止点的左侧和右侧。默认情况下,在第一区间RangedDataCNV对象将被绘制在左下面板最后一个间隔RangedDataCNV对象将被绘制在右上角面板。 Overplotting拷贝数的数据,在每个小组是一个矩形,表示开始和停止在RangedDataCNV对象的坐标。
值----------Value----------
An object of class trellis.
对象类trellis。
注意----------Note----------
Note that users must pass a RangedDataCNV object called 'range'. As mentioned previously, it can be helpful to pass an integer called 'frame' that indicates how much contextual data we should plot surrounding each genomic interval.
请注意,用户必须通过一个RangedDataCNV对象称为“范围”。如前所述,它可以通过所谓的“框架”的一个整数,指出我们应该多少上下文数据绘制周围的每个基因组的间隔。
If the lattice package is loaded after loading VanillaICE, the generic definition for xyplot in VanillaICE will be masked. To unmask the S4 generic in VanillaICE, do
如果lattice包装后装VanillaICE,xyplotVanillaICE会被掩盖的通用定义。揭露VanillaICE的S4通用,
xyplot <- VanillaICE:::xyplot
xyplot < - VanillaICE ::: xyplot
作者(S)----------Author(s)----------
R. Scharpf
参见----------See Also----------
xyplot, xypanel
xyplot,xypanel
To modify the plot appearance from the default, additional arguments can be passed to panel.xyplot, lpoints, and lrect.
修改默认的图外观,额外的参数可以通过panel.xyplot,lpoints和lrect。
举例----------Examples----------
## simulated data[#模拟数据]
data(oligoSetExample, package="oligoClasses")
data(hmmResults)
## to visualize each range in it's own panel surrounded by a[#在它自己的面板四周由每个范围的可视化]
## frame of 2,000,000 bases:[#2,000,000碱基的框架:]
## (here the frames are overlapping, but the method could be[#(帧重叠,但该方法可能]
## applied more generally to a collection of ranges from[#适用于更广泛地收集的范围]
## different chromsomes and samples)[#不同chromsomes和样品)]
xyplot(cn ~ x | range, data=oligoSet, range=hmmResults, frame=2e6,
panel=xypanel, cex=0.5, pch=21, border="orange",
scales=list(x="free"))
if(require("lattice")){
## now the generic for xyplot in VanillaICE is masked. To unmask,[#现在VanillaICE xyplot的通用被屏蔽。揭露,]
xyplot <- VanillaICE:::xyplot
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|