Package: unitcm 0.1.2

Xiao Zheng

unitcm: Client for the 'UniTCM' Traditional Chinese Medicine Platform

Provides functions to query the 'UniTCM' API (<https://unitcm.qfxulab.com>), covering herb exploration, compound/ADMET (Absorption, Distribution, Metabolism, Excretion, and Toxicity) data, disease-formula associations, Traditional Chinese Medicine (TCM) ontology, transcriptomics, and gene-disease analysis (MIDAS, Mining Integrated Disease Association Sources).

Authors:Xiao Zheng [aut, cre]

unitcm_0.1.2.tar.gz
unitcm_0.1.2.tar.gz(r-4.7-any)unitcm_0.1.2.tar.gz(r-4.6-any)
unitcm_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
unitcm/json (API)
NEWS

# Install 'unitcm' in R:
install.packages('unitcm', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/zx122ty/unitcm_r_package/issues

Pkgdown/docs site:https://zx122ty.github.io

On CRAN:

Conda:

3.40 score 98 exports 21 dependencies

Last updated from:3a3a841d21. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK145
source / vignettesOK229
linux-release-x86_64OK146
wasm-releaseOK134

Exports:aggregated_target2npas_igraphas_tidygraphautocomplete_diseasebatch_target2npbuild_formula_herb_networkbuild_hct_networkclear_api_keyclear_unitcm_tokenconvert_gene_idsdetect_communitiesexport_compound_moduleexport_compoundsexport_datasetsexport_herb_compoundsexport_herbsexport_ontologyfetch_compound_facetsfetch_dataset_facetsfetch_dataset_statsfetch_disease_treefetch_herb_facetsfetch_home_statsfetch_latest_submissionsfetch_mechanism_filtersfetch_midas_sourcesfetch_midas_statsfetch_netvis_statsfetch_omics_type_statsfetch_ontology_statsfetch_ontology_treefetch_target2np_filtersfetch_target2np_statsfetch_tcm_classification_statsfetch_transcriptome_filtersfetch_transcriptome_statsfind_pathflatten_responseget_analysis_dataget_analysis_modulesget_api_keyget_base_urlget_compoundget_compound_admetget_compound_herbsget_compound_targetsget_datasetget_formulaget_formula_dosesget_herbget_herb_compoundsget_mechanismget_neighborsget_node_detailget_node_metricsget_ontology_ancestorsget_ontology_by_levelget_ontology_childrenget_ontology_descendantsget_ontology_entityget_similar_datasetsget_subgraphget_target2npget_termget_transcriptomeget_unitcm_tokenlist_book_sourceslist_dosage_formslist_ontology_categorieslist_origin_sourceslist_term_categorieslist_term_sourcesplot_compound_radarplot_enrichmentplot_networkquery_disease_enrichmentquery_disease_genesquery_disease_intersectionquery_gene_diseasesquery_source_comparisonsearch_compoundssearch_datasetssearch_formulassearch_herbssearch_mechanismssearch_netvissearch_ontologysearch_ontology_mappingsearch_target2npsearch_target2np_drugclipsearch_target2np_seasearch_termssearch_transcriptomesset_api_keyset_base_urlset_unitcm_tokentarget2np_multi_source_summaryunitcm_cache_clear

Dependencies:askpassclicurldplyrgenericsgluehttr2lifecyclemagrittropensslpillarpkgconfigR6rappdirsrlangsystibbletidyselectutf8vctrswithr

Database Queries

Rendered fromdatabase-queries.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Gene-Disease Analysis with MIDAS

Rendered fromgene-disease-analysis.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Getting Started with unitcm

Rendered fromunitcm.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Network Pharmacology Workflow

Rendered fromnetwork-pharmacology.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Target2NP: Compound–Target Interactions

Rendered fromtarget2np.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-05-28
Started: 2026-05-28

Readme and manuals

Help Manual

Help pageTopics
Aggregated Target2NP view across data sourcesaggregated_target2np
Convert a NetVis graph response to igraphas_igraph
Convert a NetVis graph response to tidygraphas_tidygraph
Autocomplete disease names (MIDAS)autocomplete_disease
Batch query Target2NP by identifier listbatch_target2np
Build a Formula-Herb networkbuild_formula_herb_network
Build an Herb-Compound-Target networkbuild_hct_network
Clear the UniTCM API Keyclear_api_key
Clear the UniTCM API tokenclear_unitcm_token
Convert gene identifiers (MIDAS)convert_gene_ids
Detect communities in a graphdetect_communities
Export compound data by moduleexport_compound_module
Export compounds to CSVexport_compounds
Export datasets to CSVexport_datasets
Export herb compounds to CSVexport_herb_compounds
Export herbs to CSVexport_herbs
Export the TCM ontologyexport_ontology
Get compound facets and statisticsfetch_compound_facets
Get dataset facetsfetch_dataset_facets
Get TCMomics database statisticsfetch_dataset_stats
Get the ICD-11 disease classification treefetch_disease_tree
Get herb filter facetsfetch_herb_facets
Get homepage statisticsfetch_home_stats
Get latest submissionsfetch_latest_submissions
Get mechanism filter optionsfetch_mechanism_filters
Get MIDAS data sourcesfetch_midas_sources
Get MIDAS statisticsfetch_midas_stats
Get NetVis network statisticsfetch_netvis_stats
Get omics type statisticsfetch_omics_type_stats
Fetch ontology statisticsfetch_ontology_stats
Fetch the TCM ontology treefetch_ontology_tree
Fetch Target2NP filter optionsfetch_target2np_filters
Fetch Target2NP database statisticsfetch_target2np_stats
Get TCM classification statisticsfetch_tcm_classification_stats
Get transcriptome filter optionsfetch_transcriptome_filters
Get Transcriptome Hub statisticsfetch_transcriptome_stats
Find shortest path between two nodesfind_path
Flatten a nested API response to a tibbleflatten_response
Get analysis data for a transcriptome datasetget_analysis_data
List available analysis modules for a datasetget_analysis_modules
Get the UniTCM API Keyget_api_key
Get the UniTCM API base URLget_base_url
Get a single compound by IDget_compound
Get ADMET predictions for a compoundget_compound_admet
Get herbs containing a compoundget_compound_herbs
Get predicted targets for a compoundget_compound_targets
Get a single dataset by submission IDget_dataset
Get a single formula by order IDget_formula
Get herb doses for a formulaget_formula_doses
Get a single herb by IDget_herb
Get compounds for a herbget_herb_compounds
Get a single mechanism term by IDget_mechanism
Get neighbors of a nodeget_neighbors
Get node detailget_node_detail
Get node metricsget_node_metrics
Get ancestors of an ontology entityget_ontology_ancestors
Get ontology entities by levelget_ontology_by_level
Get children of an ontology entityget_ontology_children
Get all descendants of an ontology entityget_ontology_descendants
Get a TCM ontology entityget_ontology_entity
Get similar datasetsget_similar_datasets
Get subgraph for a set of nodesget_subgraph
Get a single Target2NP interaction recordget_target2np
Get a single term by IDget_term
Get a single transcriptome datasetget_transcriptome
Get the UniTCM API tokenget_unitcm_token
List book sourceslist_book_sources
List dosage formslist_dosage_forms
List top-level ontology categorieslist_ontology_categories
List origin sourceslist_origin_sources
List term categorieslist_term_categories
List term sourceslist_term_sources
Plot compound physicochemical radar chartplot_compound_radar
Plot enrichment resultsplot_enrichment
Plot a network graphplot_network
Disease enrichment analysis (MIDAS)query_disease_enrichment
Query disease-to-gene associations (MIDAS)query_disease_genes
Find disease intersection (MIDAS)query_disease_intersection
Query gene-to-disease associations (MIDAS)query_gene_diseases
Compare gene-disease sources (MIDAS)query_source_comparison
Search compounds in the Ingredient Explorersearch_compounds
Search TCMomics datasetssearch_datasets
Search formulas in the Disease-Formula Atlassearch_formulas
Search herbs in the Herb Explorersearch_herbs
Search terms molecular mechanismssearch_mechanisms
Search NetVis nodessearch_netvis
Search the TCM Ontologysearch_ontology
Search ontology external mappingsearch_ontology_mapping
Search Target2NP compound-target interactionssearch_target2np
Search DrugCLIP predicted compound-target interactionssearch_target2np_drugclip
Search SEA (ChEMBL similarity) predicted compound-target interactionssearch_target2np_sea
Search TCM bilingual corpus termssearch_terms
Search transcriptome datasetssearch_transcriptomes
Set a UniTCM API Keyset_api_key
Set the UniTCM API base URLset_base_url
Set a UniTCM API tokenset_unitcm_token
Multi-source summary for a Target2NP querytarget2np_multi_source_summary
Clear unitcm cacheunitcm_cache_clear