R/PLOT-pathway_directional_bias.R
plot_pathway_directional_bias.RdPlots prop_pos with confidence intervals as dot + error bars, and optionally
annotates FDR-adjusted p-values.
plot_pathway_directional_bias(
pathway_tbl,
reorder = TRUE,
show_fdr_label = TRUE,
fdr_digits = 2,
null_line = 0.5,
title = "Depth bias by pathway (proportion + 95% CI)",
xlab = "rbims_pathway",
ylab = "Proportion of KOs with effect > 0"
)Output tibble from calc_pathway_directional_bias().
Logical; reorder pathways by prop_pos. Default TRUE.
Logical; annotate points with FDR text. Default TRUE.
Digits for scientific formatting. Default 2.
Numeric; draw a dashed horizontal reference line (e.g. 0.5).
Plot title.
X axis label.
Y axis label.
A ggplot object.