Transcriptional factor typing with SOX2, HNF4aP1, and CDX2 closely relates to tumor invasion and Epstein-Barr virus status in gastric cancer.