collapseGO: collapseGO

Description Usage Arguments Details Value Examples

View source: R/XGSA.R

Description

This function collapses all child GO term annotations to their parent terms, resulting in the full redundant GO lists.

Usage

1
collapseGO(GO_Terms)

Arguments

GO_Terms

A non-redundant list of GO term annotations produced by "get_GO_list_from_ontologies_with_evidence_codes" for example.

Details

This function collapses all child GO term annotations to their parent terms, resulting in the full redundant GO lists.

Value

This function returns a named list of GO terms with annotated Ensembl gene IDs within each element.

Examples

1
2
3
4
5
Human_trim_GO <- get_GO_list_from_ontologies_with_evidence_codes('hsapiens')
summary(Human_trim_GO[1:5])

Human_full_GO <- collapseGO(Human_trim_GO)
summary(Human_full_GO[1:5])

VCCRI/XGSA documentation built on March 5, 2021, 10:22 p.m.