GOTermMFOnLevel: GO molecular function (MF) term level getter

View source: R/gotermlevelmf.R

GOTermMFOnLevelR Documentation

GO molecular function (MF) term level getter

Description

Gets the level of a molecular function (MF) term based on the directed acyclic graph (DAG) defined by the Gene Ontology consortium

Usage

GOTermMFOnLevel(goterm)

Arguments

goterm

An object of class character. A character string of GO molecular function (MF) terms. The object can be a GO-term or a vector of GO-terms

Value

A two-column matrix of the GO-terms and the level they map to

Note

The Gene Ontology (GO) molecular function (MF) tree was built using the root node "GO:0003674"

Examples

# molecular function GO terms

goterms <- c("GO:0003674","GO:0005515","GO:0003712","GO:0002039","GO:0000978","GO:0016740")

GOTermMFOnLevel(goterms)

GOTermMFOnLevel("GO:0005542")


GOxploreR documentation built on Nov. 3, 2023, 5:08 p.m.