Tells if the input has the typical format of ontology IDs, i.e. a code of capital letters, a colon, followed by a numeric code.
Examples
is_ontology_id(c('GO:0000001', 'reproduction'))
#> [1] TRUE FALSE
# [1] TRUE FALSE
Tells if the input has the typical format of ontology IDs, i.e. a code of capital letters, a colon, followed by a numeric code.
is_ontology_id(c('GO:0000001', 'reproduction'))
#> [1] TRUE FALSE
# [1] TRUE FALSE