unitcm is an R client for the UniTCM Traditional Chinese Medicine multi-omics platform. It provides tidy, paginated access to herbs, compounds, disease-formula associations, TCM ontology, and gene-disease analysis (MIDAS).
Installation
# install.packages("pak")
pak::pkg_install("zx122ty/UniTCM_R_Package")Quick Start
library(unitcm)
# Search herbs
search_herbs(q = "ginseng")
# Get compound targets (DrugCLIP deep learning predictions)
get_compound_targets("1")
# Gene-disease enrichment
query_disease_enrichment(c("TP53", "BRCA1", "EGFR", "VEGFA"))Modules
| Module | Functions | Description |
|---|---|---|
| Herb Explorer |
search_herbs(), get_herb()
|
800+ herbs with properties and compounds |
| Ingredient Explorer |
search_compounds(), get_compound_admet()
|
50,000+ compounds with ADMET and targets |
| Disease-Formula Atlas |
search_formulas(), get_formula_doses()
|
259,000+ formula-disease associations |
| TCM Ontology |
search_ontology(), export_ontology()
|
Hierarchical TCM knowledge system |
| MIDAS |
query_gene_diseases(), query_disease_enrichment()
|
Multi-source gene-disease analysis |
