Properties-class: Class '"Properties"'

Properties-classR Documentation

Class "Properties"

Description

Propteries (relationships) between terms can be queries for complete Ontology objects and Term/Terms instances, and the results are stored as objects of class Property or Properties.

Objects from the Class

Objects can be created by calls to properties, as described below.

Slots

See the Term and Terms classes.

Extends

Class "Terms", directly.

Methods and functions

properties

signature(object = "Ontology", pagesize = 200): ... Also works with a character with the ontology namespace. See Ontology for details.

properties

signature(object = "Term"): retrieves the properties of term object and returns a Properties object. Returns NULL when no properties are available.

proterties

signature(object = "Terms", ...): retrieves the properties of each term of object and returns a list of Properties (or NULL) items.

show

signature(object = "Properties"): shows a textual summary of the object.

length

signature(object = "Properties"): returns the number of properties in object.

Author(s)

Laurent Gatto <lg390@cam.ac.uk>

Examples

trm <- term("uberon", "UBERON:0002107")
trm
properties(trm)

trm2 <- term("GO", "GO:0005326")
trm2
properties(trm2)

lgatto/rols documentation built on Aug. 17, 2022, 5:35 a.m.