The identification of DEGs, key modular genes, and mitochondria-related genes revealed that SHANK2 and TGM2 are key mitochondrial-related genes in PBC. This evidence concerns the gene TGM2 and primary biliary cholangitis.