load_from_umls: Load terms from UMLS API

View source: R/text_preprocessing.R

load_from_umlsR Documentation

Load terms from UMLS API

Description

This function retrieves terms from UMLS using the REST API.

Usage

load_from_umls(dictionary_type, api_key, n_terms = 200, semantic_types = NULL)

Arguments

dictionary_type

Type of dictionary to load (e.g., "disease", "drug", "gene").

api_key

UMLS API key for authentication.

n_terms

Maximum number of terms to fetch.

semantic_types

Vector of semantic type identifiers to filter by.

Value

A data frame containing the UMLS terms.


LBDiscover documentation built on June 16, 2025, 5:09 p.m.