TLR2 and mastitis: SLC11A1 was closely associated with the expression of genes involved in the regulation of the immune response and inflammation, with S100A12, NOD2, TLR2 and SPI1 being closely associated with mastitis resistance (Figure 6).