Plots a histogram indicating the number of significant biomolecules, grouped by test type and fold change direction.
statres_histogram(
x,
fc_colors = c("blue", "darkgray"),
text_size,
x_lab,
y_lab,
title_lab,
legend_lab,
free_y_axis,
show_sig
)
`ggplot` object - histogram
passed from
pmartR::plot.statRes()
An integer specifying the size of the text (number of non-missing values) within the plot. The default is 3. be displayed on the bar plot. The default is TRUE.
character string specifying the x-axis label.
character string specifying the y-axis label.
character string specifying the plot title.
character string specifying the legend title.
logical specifying whether to use scales = 'free'
in ggplot2::facet_wrap
logical specifying whether only significant fold changes are included in the histogram or all fold changes