[Deprecated] This function was deprecated due to its name changing to calculate_go_enrichment().



A bar plot displaying negative log10 adjusted p-values for the top 10 enriched or depleted gene ontology terms. Alternatively, plot cutoffs can be chosen individually with the plot_cutoff argument. Bars are colored according to the direction of the enrichment (enriched or deenriched). If plot = FALSE, a data frame is returned. P-values are adjusted with Benjamini-Hochberg.