This document explains how each tool works, including input formats, backend processing flow, outputs, and troubleshooting notes.
Browse coordinates of various data types (symptoms, formulas, herbs, compounds, drugs, or targets) in a visualized TCM Embedding Space. These coordinates are precomputed and available for direct download as either original 256-dimensional vectors or 6-dimensional PCA-reduced vectors, where the first three PCA dimensions correspond to the positions shown in the visualization. You can freely rotate, pan, and zoom the view, or click points to inspect detailed information, enabling intuitive understanding of where data points lie in the TCM Embedding Space.
Convert custom symptom patterns or herb combinations into quantitative coordinates in the TCM Embedding Space. This process is grounded in the model's learning from classical and modern formula knowledge, providing standardized data for downstream quantitative analyses. Symptom inputs support semantic encoding, allowing terms not present in the dataset. Downloads are available for both original 256-dimensional coordinates and 6-dimensional PCA-reduced coordinates, and results can be sent with one click to Relation Exploration for further analysis.
Based on symptom-herb mapping patterns learned by the model, this tool infers recommended herb combinations from input symptom patterns, or inversely infers the primary symptom patterns from herb combinations. It quantifies the correspondence between formulas and syndromes in traditional pattern differentiation and TCM learning, supporting clinical decision-making, TCM research, and interpretation of formula principles. Symptom inputs support semantic encoding, allowing terms not present in the dataset.
Search related items that are nearest to the input coordinate (a disease or a custom coordinate) within the TCM Embedding Space. This helps identify potentially effective formulas, herbs, compounds, drug-repurposing candidates, or disease-target relationships with shared biological mechanisms, enabling new insights from an integrative Chinese-Western medicine perspective. Click entries in the results to open the association view in the visualization space and intuitively inspect distances to the target coordinate.
A multi-tab workspace for formula attention, PCA point operations, practice/outcome association/indication statistics, and disease KNN network analysis.
Analyze how the model allocates attention when processing herbs contained in a formula and the symptoms the formula treats. Attention is not a direct measure of outcome association strength or causal effect of an herb on a symptom; it reflects which information the model prioritizes during inference. Higher attention indicates the reference value of specific information for understanding the current symptom or herb combination, or for distinguishing it from similar cases. Because reference contexts differ and the attention mechanism is dynamically adjusted for each specific input set, inconsistency between symptom→herb and herb→symptom cross-attention is a normal behavior consistent with model logic.
Visualize custom coordinate points in a 3D PCA space and compare their relative positions. Supports both manual input and file upload for multiple data types (symptoms, formulas, herbs, compounds, western drugs, and targets), with customizable point colors and labels for input items. Automatically computes all pairwise distances among input points and provides downloadable results. Symptom inputs support semantic encoding, so symptom names not present in the database can still be entered. It is recommended to use one consistent color per data type and avoid assigning the same label to multiple points to prevent confusion.
Based on clinical practice data, this module analyzes the relationship between coordinate distance and co-occurrence strength of symptom sets or herb sets in cases, to assess consistency between real-world clinical practice and the structure of the TCM embedding space. It supports providing symptom patterns and herb combinations in the same file with different counts, and they do not need one-to-one correspondence. Symptom inputs support semantic encoding, so symptom names not present in the database can still be entered. Both scatter plots and error-bar plots are supported; in the error-bar plot, point height is the mean and the upper/lower bar lengths are standard deviations.
Based on clinical outcome association data of TCM prescriptions, this module analyzes the relationship between outcome association indicators and coordinate distance, to evaluate how well the TCM embedding space explains outcome association variation. Symptom patterns and herb combinations in the data file must correspond one-to-one, along with an outcome association indicator. There are no restrictions on how the outcome association indicator is defined or its value range. Symptom inputs support semantic encoding, so symptom names not present in the database can still be entered. Both scatter plots and error-bar plots are supported; in the error-bar plot, point height is the mean and the upper/lower bar lengths are standard deviations.
Based on herb indication data, this module examines distribution differences in coordinate distances between indication-matched herb–symptom pairs and non-matched pairs. Symptom inputs support semantic encoding, so symptom names not present in the database can still be entered. Supports both box plots and violin plots.
Based on coordinates of disease symptom patterns in the TCM embedding space, this module builds a disease KNN network and annotates edges by whether diseases share symptoms and related genes (optional), helping discover potential shared mechanisms. Supports both manual input and file upload, and allows customization of the number of nearest neighbors. Multiple layouts are supported, including coordinate layout and four network layouts; in network layouts, point colors can represent coordinates. Provides downloads for both the disease list and edge list of the network.