Skip to contents

Slims top significant Gene Ontology terms from enrichR, rGREAT, and GOfuncR using rrvgo.

Usage

slimGO(
  GO = GO,
  tool = c("enrichR", "rGREAT", "GOfuncR"),
  annoDb = annoDb,
  plots = FALSE,
  threshold = 0.7
)

Arguments

GO

A dataframe or list of dataframes returned from enrichR::enrichr(), rGREAT::getEnrichmentTables(),or GOfuncR::go_enrich().

tool

A character vector of the name of the database (enrichR, rGREAT, or GOfuncR).

annoDb

Character specifying OrgDb annotation package for species of interest.

plots

Logical indicating if scatter and treemap plots should be generated.

threshold

Numeric indicating similarity threshold (0-1) for rrvgo::reduceSimMatrix(). 0.9 is large, 0.7 is medium, 0.5 is small, and 0.4 is tiny. Default is 0.7.

Value

A tibble of top distinct and significant GO terms from an enrichR,

rGREAT or GOfuncR analysis.

Details

slimGO