View source: R/ontology_shared.R
gosyn | R Documentation |
I think I will need to do similar parsing of the output for this function as per gosec() In some cases this also returns stuff like c("some text", "GO:someID") versus "some other text" versus NULL versus NA. This function just goes a mapply(gosn, go).
gosyn(go = "GO:0000001")
go |
GO id, this may be a character or list(assuming the elements are goids). |
Some text providing the synonyms for the given id(s).
[AnnotationDbi] [GO.db]
## Not run:
text = gosyn("GO:0000001")
text
## > GO:000001
## > "mitochondrial inheritance"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.