Particularly, ESR1, BRCA1 and BRCA2 were less often methylated compared with female breast cancer and were strong independent predictors of gender in logistic regression analysis (P = 0.005, P = 0.010 and P < 0.001, respectively). Here, BRCA2 is linked to breast cancer.