Skip to contents

Creates a horizontal bar chart of the top enriched GO terms

Usage

plotGOBarChart(go_result, n_terms = 10, title = NULL, color_by = "p.adjust")

Arguments

go_result

A data.frame from clusterProfiler enrichGO result

n_terms

Number of top terms to display (default: 10)

title

Plot title

color_by

Column to color bars by ("pvalue", "p.adjust", "Count")

Value

ggplot2 object