Install the development version from GitHub:
Or using remotes:
By default, unitcm connects to the public UniTCM API at
https://unitcm.qfxulab.com/api/v1. You can override this if
needed:
All data-access endpoints are currently public and require no authentication. For future authenticated endpoints, you can set a token:
Search for herbs related to ginseng:
Get detailed information for a specific herb:
Most search functions return paginated results. Use page
and page_size to control pagination manually, or set
all_pages = TRUE to fetch everything:
unitcm provides access to these UniTCM platform
modules:
| Module | Key Functions |
|---|---|
| Herb Explorer | search_herbs(), get_herb(),
get_herb_compounds() |
| Ingredient Explorer | search_compounds(), get_compound_admet(),
get_compound_targets() |
| Disease-Formula Atlas | search_formulas(), get_formula_doses(),
fetch_disease_tree() |
| TCM Ontology | search_ontology(), get_ontology_entity(),
export_ontology() |
| MIDAS Gene-Disease | query_gene_diseases(),
query_disease_enrichment() |
See vignette("database-queries") for detailed examples
of each module.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.