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


DrugInfoStudio/DIStudio documentation built on April 30, 2020, 6:58 a.m.