Based on the pathway changes of RhoA activity, we developed a statistically optimized gene subset as a biomarker by applying a genetic algorithm to a training gastric cancer cohort obtained from the gastric cancer dataset of TCGA. Here, RHOA is linked to gastric cancer.