The invention belongs to the technical field related to single cells, and provides a
single cell transcriptome batch effect identification method and
system, and the method comprises the steps: screening
metadata information most valuable for batch effect identification from clinical
metadata based on a PERMANOVA and
confusion detection mechanism clinical
metadata importance evaluation method; the
noise is reduced by aggregating the cells into metacells, the calculation efficiency is improved, and a
distribution characteristic matrix between batches is constructed; self-
adaptive weighting is carried out according to the importance of different clinical metadata, and the real difference between batches is accurately measured; based on a batch grouping strategy of dynamic tree
cutting,
outlier samples and sample groups are automatically identified, and a new batch
system is constructed for subsequent batch effect correction. According to the method, the technical batch effect and the biological difference can be effectively distinguished, biological
signal loss caused by excessive correction is avoided, and the real biological heterogeneity between samples can also be revealed.