draw(someMTP)
draw()所属R语言包:someMTP
Plots results of fdrOrd()
绘图结果fdrOrd()
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plots results of fdrOrd()
绘图结果fdrOrd()
用法----------Usage----------
draw(object, what = c("all", "ordVsP", "stepVsR"), pdfName = NULL)
参数----------Arguments----------
参数:object
a someMTP.object resulting from fdrOrd()
someMTP.object导致从fdrOrd()
参数:what
what to plot; "all" is the default
什么图,“"all"是默认的
参数:pdfName
it is the pdf filename where the plot will be saved. If pdfNane is null (the default) the plot will show as window.
它是PDF文件名中的图将被保存。如果pdfNane是null(默认值),曲线将显示窗口。
值----------Value----------
No value is returned
无返回值
(作者)----------Author(s)----------
Livio Finos
参见----------See Also----------
See Also fdrOrd.
请参见fdrOrd。
实例----------Examples----------
set.seed(17)
x=matrix(rnorm(60),3,20)
x[,1:10]=x[,1:10]+2 ##variables 1:10 have tests under H1[#变量1:10有H1的测试下]
ts=apply(x,2,function(x) t.test(x)$statistic)
ps=apply(x,2,function(x) t.test(x)$p.value)
m2=apply(x^2,2,mean)
pOrd <- fdrOrd(ps,q=.05,ord=m2)
draw(pOrd)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|