hierarchyfromSource: Retrieving Source-Asserted hierarchy

View source: R/hierarchyfromSource.R

hierarchyfromSourceR Documentation

Retrieving Source-Asserted hierarchy

Description

This function provides you a way to retrieve a hierarchical information about a known source-asserted identifier.

Usage

hierarchyfromSource(vocabulary, Id, type = "descendants")

Arguments

vocabulary

Any root source abbreviation in the UMLS. See the “Abbreviation” column for a list of UMLS source vocabulary abbreviations.

Id

Source-asserted identifier.

type

The type of hierarchy e.g. "parents", "children", "ancestors" or "descendants". By default, it is "descendants".

Value

A data frame #' @examples ## Not run: hierarchy <- hierarchyfromSource(vocabulary = "ICD10", Id = "J45", type = "children")


yvoawk/getUMLS documentation built on Aug. 2, 2022, 5:08 p.m.