TrimEnrich: Trim mkEnrich() results

View source: R/TrimEnrich.R

TrimEnrichR Documentation

Trim mkEnrich() results

Description

Many of the enriched pathways from GO enrichment are highly overlapping. i.e. BC: Ribosome and BP Ribosome Function, etc. To clean up the downstream Gene concept networks it can be helpful to trim redundant enriched pathways.

Usage

TrimEnrich(x, terms = NULL)

Arguments

x

Output object from mkEnrich() function

terms

Terms in pathways to keep. Can use multiple terms separated by pipes. i.e. "synapse|amyloid|insulin" will subset to include only terms with one of those names in the description. Not sensitive to case.

Value

Modified enrichResult only including indicated terms


genejockey33000/typGumbo documentation built on July 20, 2023, 11:45 p.m.