AnnotationDbi (version 1.34.3)

GOTerms-class: Class "GOTerms"

Description

A class to represent Gene Ontology nodes

Arguments

Objects from the Class

Objects can be created by calls of the form GOTerms(GOId, term, ontology, definition, synonym, secondary). GOId, term, and ontology are required.

References

http://www.geneontology.org/

See Also

makeGOGraph shows how to make GO mappings into graphNEL objects.

Examples

Run this code
gonode <- new("GOTerms", GOID="GO:1234567", Term="Test", Ontology="MF",
                          Definition="just for testing")
  GOID(gonode)
  Term(gonode)
  Ontology(gonode)

  ##Or you can just use these methods on a GOTermsAnnDbBimap
##I want to show an ex., but don't want to require GO.db
  require(GO.db)
  FirstTenGOBimap <- GOTERM[1:10] ##grab the 1st ten
  Term(FirstTenGOBimap)

  ##Or you can just use GO IDs directly
  ids = keys(FirstTenGOBimap)
  Term(ids)

Run the code above in your browser using DataLab