GOTermList {PloGO2} | R Documentation

## Function to extract a list of GO terms at level 2,3 or 4 of the GO hierarchy

### Description

At the moment a quick and dirty way to extract all GO nodes at levels 2, 3 or 4 of the GO hierarchy.

### Usage

    GOTermList(ontology = "BP", level = 2, node = NULL)

### Arguments

`ontology` | Either "BP", "CC" or "MF"
`level` | Either 2, 3 or 4
`node` | Null or a GO node

### Details

This is a quick and dirty way to extract a list of GO terms of interest. That can be one of the levels 2, 3 or 4 or all subnodes (children) of a particular node if a valid GO is provided for the node parameter. Should be rewritten.

### Value

A vector of GO nodes

### Author(s)

D. Pascovici

### Examples

    GOTermList("BP", 2)
    GOTermList("CC", 2)

[Package PloGO2 version 1.4.0 Index]