我根据上一篇文章 如何在 R 中创建优势比和 95 % CI 图使用以下代码来生成下面发布的图。我想:1)使 x 和 y 轴以及图例加粗 2)增加线条的粗细
我怎么能在ggplot中做到这一点?
ggplot(alln, aes(x = apoll2, y = increase, ymin = l95, ymax = u95)) + geom_pointrange(aes(col = factor(marker)), position=position_dodge(width=0.50)) +
ylab("Percent increase & 95% CI") + geom_hline(aes(yintercept = 0)) + scale_color_discrete(name = "Marker") + xlab("")