The patterns of FOXF2, PTN, SCN7A, and COL6A2 in BPH and PC groups are similar, which are positively correlated with the infiltration of most immune cells. The gene discussed is FOXF2; the disease is benign prostatic hyperplasia.