load_from_mesh: Load terms from MeSH using rentrez with improved error handling
Description
This function uses the rentrez package to retrieve terms from MeSH database.
Usage
load_from_mesh(dictionary_type, n_terms = 200, query = NULL)
Value
A data frame containing the MeSH terms.
Arguments
- dictionary_type
Type of dictionary to load (e.g., "disease", "drug", "gene").
- n_terms
Maximum number of terms to fetch.
- query
Additional query to filter MeSH terms.