Learn R Programming

rols (version 1.8.0)

childrenRelations: Returns the children relation type(s).

Description

This function returns the relation type of a ontology term termId and its children. The function sends a getTermRelationsRequest SOAP message and retrieves and parses the getTermRelationsResponse. The original corresponging interface is public Map getTermRelations(String termId, String ontologyName).

Usage

childrenRelations(termId = termId, ontologyName = ontologyName, simplify = TRUE)

Arguments

termId
A character with a valid ontology identifier.
ontologyName
A character with the name of a valid ontology name.
simplify
A logical indicating whether the S4 Map instance should be simplified. Default is TRUE.

Value

A named character if simplify is TRUE. An instance of class Map otherwise.

Examples

Run this code
childrenRelations("GO:0005802", "GO")

Run the code above in your browser using DataLab