The invention discloses a single
cell type automatic labeling method and
system based on an
attention network, and the method comprises the steps: obtaining original
single cell transcriptome data, and carrying out the preprocessing, and obtaining high-variation
gene data; performing low-dimensional
feature mapping and
gene layer comparative learning on the obtained high-variation
gene data, and screening key gene features based on an attention mechanism; carrying out
biological pathway mapping on the obtained key gene features, carrying out feature integration to obtain pathway features, carrying out pathway layer comparative learning, and screening key pathway features based on an attention mechanism; constructing a gene layer global feature and a pathway layer global feature, and performing
feature fusion to obtain a
cell global feature; and carrying out
cell layer contrast
learning based on the obtained global cell features, and carrying out single
cell type classification prediction. According to the method, high-precision, explainable and high-robustness automatic labeling of the single
cell type can be realized, and a more reliable
technical support is provided for researches such as cell heterogeneity analysis and rare subtype recognition in single cell
omics data analysis.