"Properties"
Properties-class.Rd
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 can be created by calls to properties
, as described
below.
Class "Terms"
, directly.
signature(object = "Ontology", pagesize =
200)
: ... Also works with a character
with the ontology
namespace. See Ontology
for details.
signature(object = "Term")
: retrieves the
properties of term object
and returns a Properties
object. Returns NULL
when no properties are available.
signature(object = "Terms", ...)
: retrieves
the properties of each term of object
and returns a list of
Properties
(or NULL
) items.
signature(object = "Properties")
: shows a textual
summary of the object.
signature(object = "Properties")
: returns the
number of properties in object
.
trm <- term("uberon", "UBERON:0002107")
trm
#> A Term from the UBERON ontology: UBERON:0002107
#> Label: liver
#> No description
properties(trm)
#> Object of class 'Properties' with 147 entries
#> From the UBERON ontology
#> digestive system gland, abdomen element ... hepatobiliary system, bile
trm2 <- term("GO", "GO:0005326")
trm2
#> A Term from the GO ontology: GO:0005326
#> Label: neurotransmitter transmembrane transporter activity
#> No description
properties(trm2)
#> Object of class 'Properties' with 18 entries
#> From the GO ontology
#> transmembrane transporter activity, neurotransmitter transport ... acetylcholine:proton antiporter activity, neurotransmitter:sodium symporter activity