Learn R Programming

GOxploreR (version 1.2.8)

GOTermMFOnLevel: 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)

Value

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

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

Examples

Run this code
# molecular function GO terms

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

GOTermMFOnLevel(goterms)

GOTermMFOnLevel("GO:0005542")

Run the code above in your browser using DataLab