get_class | R Documentation |
Get class(es) in an ontology
get_class(..., regex = FALSE, external = FALSE, ontology = NULL)
... |
combination of column name and value to filter that column by. The
value to filter by can be provided as regular expression, if |
regex |
|
external |
|
ontology |
|
A table of the class(es) in the ontology according to the values in
...
ontoDir <- system.file("extdata", "crops.rds", package = "ontologics")
onto <- load_ontology(path = ontoDir)
# exact classes from a loaded ontology ...
get_class(label = "class", ontology = onto)
# ... or one stored on the harddisc
get_class(id = ".xx.xx", ontology = ontoDir)
# use regular expressions ...
get_class(label = "ro", regex = TRUE, ontology = onto)
# get all sources
get_class(ontology = onto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.