E2F2 and E2F5 showed correlations with better OS when HER2 expression was both positive and negative in GC patients. Here, E2F2 is linked to gastric cancer.