From 9b34027f22fcc03e5914fce2e4ccff89f64756ca Mon Sep 17 00:00:00 2001 From: Luke Hannan Date: Fri, 17 Oct 2025 22:43:54 +0200 Subject: [PATCH] Update geom_errorbarh to geom_errorbar --- R/plot_differentialTest.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot_differentialTest.R b/R/plot_differentialTest.R index 55b55f1..acaec02 100644 --- a/R/plot_differentialTest.R +++ b/R/plot_differentialTest.R @@ -73,7 +73,7 @@ plot.differentialTest <- function(x, level = NULL, data_only = FALSE, ...) { ggplot2::geom_vline(xintercept = 0, color = "gray50", lty = "dashed", alpha = 0.75, lwd = 1) + ggplot2::geom_point() + - ggplot2::geom_errorbarh(ggplot2::aes(xmin = xmin, xmax = xmax, colour = xmin<=0 & xmax <= 0| xmin>=0 & xmax >= 0), height = .3) + + ggplot2::geom_errorbar(ggplot2::aes(xmin = xmin, xmax = xmax, colour = xmin<=0 & xmax <= 0| xmin>=0 & xmax >= 0), height = .3, orientation = "x") + ggplot2::theme_bw() + ggplot2::facet_wrap(~variable, scales = "free_x", nrow = 1) + ggplot2::labs(title = "", x = "", y = "Taxa") +