Learn R Programming

ontologyIndex (version 2.2)

OWL_properties: Get vectors of term properties from set of OWL nodes

Description

Functions which return vectors of properties for OWL formatted ontological terms represented as xml_nodesets. OWL_strings_from_nodes accepts an XPath expression (a character vector of length 1) and returns the string value of the XPath expression evaluated for each node (i.e. for each term in the ontology). One can use OWL_list_attributes_per_node to create functions for extracting lists of term attributes for each node of encoded in the OWL file.

Usage

OWL_strings_from_nodes(xpath)
OWL_IDs(nodes)
OWL_labels(nodes)
OWL_obsolete(nodes)

Arguments

xpath
XPath expression.
nodes
xml_nodeset object where nodes correspond to ontological terms.

See Also

OWL_list_attributes_per_node