getNextGOIDs {GeneAnswers} | R Documentation

## retrieve parents or children GO IDs for given GO IDs

### Description

A function to retrieve parents or children GO IDs for given IDs with specified filtered IDs.

### Usage

    getNextGOIDs(GOIDs, GOType=c('GO', 'GO.BP', 'GO.CC', 'GO.MF'), remove=TRUE, filterGOIDs=NULL, UP=TRUE)

### Arguments

`GOIDs` | a character GO ID vector
`GOType` | type of GO IDs, 'GO', 'GO.BP', 'GO.CC' and 'GO.MF'
`remove` | logic, remove the empty GOIDs in the return values
`filterGOIDs` | a chacater vector for filtered GO IDs
`UP` | logic, determine search Parents or Children.

### Details

filterGraphIDs is used to only keep nodes in filterGraphIDs.

### Value

return a GO IDs list representing a network.

### Author(s)

Gang Feng, Pan Du and Simon Lin

### References

Feng, G., Du, P., Krett, N., Tessel, M., Rosen, S., Kibbe, W.A. and Lin, S.M., 'A collection of bioconductor methods to visualize gene-list annotations', BMC Research Notes 2010, 3:10

### Examples

    getNextGOIDs(c('GO:0050794','GO:0034960'))

[Package GeneAnswers version 2.26.0 Index]