listRelatedNodes: List related nodes

Description Usage Arguments Value

View source: R/drugs.R

Description

Identify related nodes of a given concept of an ontology.

Usage

1
listRelatedNodes(model, code, direction = "down", kinds = "All")

Arguments

model

A model object like returned by loadDefaultModel.

code

A concept code (character vector) to look for.

direction

A character vector containing one of 'up', 'down', or 'both'.

kinds

A vector of concept kinds to include in the returned list.

Value

A data frame of the matching nodes


Su-informatics-lab/DIStudio documentation built on May 5, 2020, 10:33 p.m.