plot.fdr2d.result(OCplus)
plot.fdr2d.result()所属R语言包:OCplus
Plotting the bivariate local false discovery results
绘制二元当地的虚假的发现结果
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These functions provide different ways of plotting the output fdr2d.
这些功能提供了不同的方式,策划的输出fdr2d。
用法----------Usage----------
plot.fdr2d.result(x, levels, nr.plot = 20, add = FALSE, grid = FALSE,
pch = ".",xlab, ylab, vfont = c("sans serif", "plain"), lcol = "black", ...)
Tornadoplot(x, levels, nr.plot = 20, label = FALSE, constrain = FALSE,
pch = ".", xlab, ylab, vfont = c("sans serif", "plain"), lcol = "black", ...)
Volcanoplot(x, df, levels, nr.plot = 20, label = FALSE, constrain = FALSE,
pch = ".", xlab, ylab, vfont = c("sans serif", "plain"), lcol = "black", ...)
参数----------Arguments----------
参数:x
an object created by fdr2d.
fdr2d创建一个对象。
参数:df
the appropriate degrees of freedom for a two-sample t-test with equal variances (in order to provide p-values for the volcano plot).
为两样本t检验(以提供的火山积p值)的方差相等的自由相应的学位。
参数:levels
vector of levels for drawing fdr isolines
向量的绘制FDR等值线的水平
参数:nr.plot
number of equidistant breaks defining a two-dimensional grid for smoothing isolines, see Details.
定义为二维网格平滑等值线的等距截断,看到详细信息。
参数:add
logical value indicating whether to create a new plot, or to add to an existing plot.
逻辑值,该值指示是否要创建一个新的图,或添加到现有的图。
参数:grid
logical value indicating whether the original grid used for estimating the local fdr should be shown.
逻辑值,该值指示是否应显示原始网格用于估算的本地FDR。
参数:label
logical value indicating whether to draw labels on the isolines.
逻辑值,该值指示是否绘制等值线图上的标签。
参数:constrain
logical flag indicating whether transformed fdr values should be made monotnously decreasing with the absolute size of the first test statistic, see fdr2d.
逻辑的指示标志是否转化FDR值应的第一个检验统计量的绝对值大小与monotnously减少,看到fdr2d。
参数:pch, xlab, ylab
the usual graphical parameters
通常的图形参数
参数:vfont
vector font specification for labelling the isolines, see contour.
为标签的等值线矢量字体规范,看到contour。
参数:lcol
colour used for drawing the isolines
颜色用于绘制等值线
参数:...
extra graphical parameters passed to plot.default.
额外的图形参数传递到plot.default。
Details
详情----------Details----------
The plot format is basically a scatter plot of the observed test statistics, overlayed with isolines showing the estimated fdr. The generic plot function displays the original test statistics that are used to estimate the fdr, i.e. the two-sample t-statistics and the logarithmized standard errors; the other plots use different, but mathematically equivalent test statistics:
图格式基本上是一个散点图,观测试验统计显示,估计FDR等值线叠加。通用的绘图功能显示原始测试是用来估计的FDR,即两样本t-统计量和标准误差logarithmized统计;其他使用不同的图,但数学上是等价的测试统计:
mean difference and logarithmized standard error for the tornado plot,
平均差和龙卷风图logarithmized标准错误,
mean difference and -\log10(p) for the volcano plot, where p is the p-value from the standard two-sample t-test.
平均差和-\log10(p)为火山图,其中p是从标准的两样本t检验的p值。
By default, the estimated fdr isolines are smoothed and cropped to the convex hull of the observed test statistics by using akima. This is entirely a graphical pre-processing step which produces smoother isolines and enforces sanity at the edges of the observed distribution; it does not change the estimated fdr at all. This graphical smoothing is controlled via the argument nr.plot, which specifies the grid size, with lower values resulting in stronger smoothing. In order to suppress graphical smoothing, set nr.plot to zero.
默认情况下,估计FDR等值线平滑和裁剪凸包的观测试验统计,使用akima。这完全是一个图形化的前处理步骤,产生平滑的等值线和强制执行的理智,在所观察到的分布的边缘,它不会改变估计FDR所有。这种图形的平滑控制通过参数nr.plot,指定网格的大小,数值较低,导致更强的平滑。为了抑制图形平滑,设置nr.plot为零。
Note that the test statistics and the fdr for the volcano- and tornado plots are not computed from scratch, but rather through transformation of the original results. Specifically, the isolines in these plots are also transformed; this has the unfortunate side effect that the labelling of isolines in these plots is not nearly as pretty as the standard provided by contour. This functionality is currently not available outside of contour, and our implementation in DrawContourlines frankly leaves a lot to be desired. We apologize for the inconvenience.
请注意,测试统计和火山和龙卷风图FDR不是从零开始,而是通过改造原有结果计算。具体来说,在这些图的等值线也转化;等值线在这些图的标签是不是几乎一样漂亮的标准contour,这个不幸的副作用。此功能目前是不外contour,我们实施DrawContourlines坦言留下了很多理想。给您带来不便,我们深表歉意。
值----------Value----------
The original x, invisibly.
原x,无形。
作者(S)----------Author(s)----------
A. Ploner
参考文献----------References----------
参见----------See Also----------
fdr2d, DrawContourlines
fdr2d,DrawContourlines
举例----------Examples----------
# Create res2d[创建res2d]
example(fdr2d)
par(mfrow=c(2,2))
plot(res2d, main="Generic plotting")
Volcanoplot(res2d, df=length(grp)-2, main="Volcano plot", label=TRUE)
Tornadoplot(res2d, main="Tornado plot", label=TRUE)
# This is without graphical smoothing[这是没有图形平滑]
plot(res2d, main="Generic plotting, raw", nr.plot=0)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|