Properties (relationships) between terms can be queries for complete [olsOntology()] objects and [olsTerm()]/[olsTerms()] instances, and the results are stored as objects of class `olsProperty` or `olsProperties`.
# S4 method for class 'olsOntology'
olsProperties(object)
# S4 method for class 'character'
olsProperties(object)
# S4 method for class 'olsTerm'
olsProperties(object)
# S4 method for class 'olsTerms'
olsProperties(object)
# S4 method for class 'olsProperty'
show(object)
# S4 method for class 'olsProperties'
show(object)
# S4 method for class 'olsProperties'
length(x)
First input object.
A `olsProperties` object.
- OLS3 API (the OLS4 API should function identically to the OLS3): <http://www.ebi.ac.uk/ols4/ols3help>
- REST API for OLS: <https://www.ebi.ac.uk/ols4/swagger-ui/index.html>
## Term properties
trm <- olsTerm("uberon", "UBERON:0002107")
trm
#> A olsTerm from the UBERON ontology: UBERON:0002107
#> Label: liver
#> An exocrine gland which secretes bile and functions in metabolism of
#> protein and carbohydrate and fat, synthesizes substances involved in
#> the clotting of the blood, synthesizes vitamin A, detoxifies poisonous
#> substances, stores glycogen, and breaks down worn-out erythrocytes[GO].
olsProperties(trm)
#> Object of class 'olsProperties' with 160 entries
#> From the UBERON ontology
#> hepatobiliary system, exocrine system ... liver serosa, liver subserosa
## Ontology properties
olsProperties('ado')
#> ⠙ Iterating 8 done (3.9/s) | 2s
#> ⠙ Iterating 10 done (4.2/s) | 2.4s
#> Object of class 'olsProperties' with 186 entries
#> From the ADO ontology
#> treeView, readOnly ... SNOMED CT Identifier, Library of Congress Subject Headings