Learn R Programming

GeneAnswers (version 2.14.0)

getNextGOIDs: 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.

Value

return a GO IDs list representing a network.

Details

filterGraphIDs is used to only keep nodes in filterGraphIDs.

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

Run this code
getNextGOIDs(c('GO:0050794','GO:0034960'))

Run the code above in your browser using DataLab