guess_ont: Guess the ontology of the input GO IDs

Description Usage Arguments Details Value Examples

View source: R/similarity_GO.R

Description

Guess the ontology of the input GO IDs

Usage

1
guess_ont(go_id, db = 'org.Hs.eg.db')

Arguments

go_id

A vector of GO IDs.

db

Annotation database. It should be from https://bioconductor.org/packages/3.10/BiocViews.html#___OrgDb

Details

10 GO IDs are randomly sampled and checked.

Value

A single character scalar of "BP", "CC" or "MF".

If there are more than one ontologies detected. It returns NULL.

Examples

1
2
go_id = random_GO(100)
guess_ont(go_id)

simplifyEnrichment documentation built on Nov. 8, 2020, 5:07 p.m.