GOTermMFOnLevel: GO molecular function (MF) term level getter

Description Usage Arguments Value Note Examples

View source: R/gotermlevelmf.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
# 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 Dec. 11, 2021, 9:48 a.m.