filterGoanaOutput: Filter annotation enrichment output from goana

Description Usage Arguments Value

View source: R/filterGoanaOutput.R

Description

This function filters the output of goana to include only terms that are either more specific or more strongly enriched. It uses the ancestor-dependent relationships of the Gene Ontology database to identify terms that are less specific, and culls them unless they are more strongly enriched in the analysis than the descendant term.

Usage

1
filterGoanaOutput(goanaResult, idCol = "GO_ID", orderBy = "P.DE")

Arguments

goanaResult

a data frame containing the results of call to goana

idCol

character or numeric, the column of goanaResult containing the ontology identifiers. Defaults to "GO_ID"

orderBy

character or numeric, the column of goanaResult that contains information on the enrichment of the term. This is passed to dplyr::arrange. Defaults to "P.DE"

Value

A data frame that is a subset of the input goanaResult, retaining only rows for terms that are more strongly enriched than any descendant terms


BenaroyaResearch/limmaTools documentation built on Dec. 17, 2021, 10:49 a.m.