obo_prefix | R Documentation |
Extract the OBO ontology prefix from IRIs
obo_prefix(x)
x |
a list or vector of IRIs, and/or objects that have an "id" key. |
A character vector of the same length as the input vector or list, with NA in the positions where extracting the OBO ontology prefix failed.
tt <- c("http://purl.obolibrary.org/obo/UBERON_0011618",
"http://purl.obolibrary.org/obo/PATO_0002279",
"http://purl.obolibrary.org/obo/VTO_0071642",
"http://purl.obolibrary.org/obo/MP_0030825",
"http://purl.obolibrary.org/obo/NCBITaxon_7955")
obo_prefix(tt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.