增大R中metafor包中林地图输出的地块大小

问题描述 投票:0回答:1

我正在为多因素荟萃分析绘制一个摘要森林图,并希望强调处理之间的分类差异(网络分支)。尽管我喜欢metafor产生的数字多么干净,但我希望能够增加用于绘制汇总效果和置信区间的不动产,在不损失权重的情况下增加点的大小。standard forest plot output

如何增加图的大小(即按比例放大摘要效果点和置信区间),使其在图的中心占据更多空间,并且更易于阅读? (并且这样做不会影响相邻的文本(注释和标签),也不会消除权重。)

我一直在使用cex选项,它确实增加了图和汇总点的大小,但同时也增加了因子描述和数字注释的文本(Forest 1 cex = 1.55)。forest plot using cex=1.55 adjustment

我还尝试通过psize(Forest 1 psize = 2)增加点的大小,但是它消除了加权因子的直观表示。 (这也更多是创可贴,我真的很想增加情节的大小。)forest plot with psize=2 adjustment

forest(fit$beta, sei=fit$se, slab=labels, annotate=TRUE, cex = 1, 
    cex.main = 1.5, cex.lab = 1, cex.axis = 1, cex.sub = 3, 
    efac = 1.25, 
    xlim = c(-1000, 750), alim = c(-100, 100), ylim = c(-1, 19), 
    xlab="Standardized Mean Difference", 
    rows=c(15:13, 10:7, 4:1), 
    main="Forest 1 Standard")
text(-1000, c(16, 11, 5), pos=4, 
  c("No Water Stress", "Moderate Water Stress", "Severe Water Stress"), font=2)
text(c(-1000, 300), c(18, 18), pos=4, 
   c("Treatment (Factor Combination)", "Summary Effect [95% CI]"), font=2)
r figure forestplot metafor
1个回答
0
投票

设置graphwidth = unit(10,“ cm”)或相应地在forestplot()函数中设置

© www.soinside.com 2019 - 2024. All rights reserved.