olsProperties: Term Properties

olsPropertiesR Documentation

Term Properties

Description

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'.

Usage

## S4 method for signature 'olsOntology'
olsProperties(object)

## S4 method for signature 'character'
olsProperties(object)

## S4 method for signature 'olsTerm'
olsProperties(object)

## S4 method for signature 'olsTerms'
olsProperties(object)

## S4 method for signature 'olsProperty'
show(object)

## S4 method for signature 'olsProperties'
show(object)

## S4 method for signature 'olsProperties'
length(x)

Arguments

object

First input object.

x

A 'olsProperties' object.

References

- 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>

Examples


## Term properties
trm <- olsTerm("uberon", "UBERON:0002107")
trm
olsProperties(trm)

## Ontology properties
olsProperties('ado')

lgatto/rols documentation built on April 29, 2024, 12:20 p.m.