Glioma gene modules co-expressed with NF1 (NF1-M), Sprouty (SPRY-M) and PTEN (PTEN-M) were identified, their signatures enabled robust clustering of adult diffuse gliomas of WHO grades II-IV from five independent data sets into two subtypes with distinct activities of RAS-RAF-MEK-MAPK cascade and PI3K-AKT pathway (named RMPAhigh and RMPAlow subtypes) in a morphology-independent manner. Here, NF1 is linked to glioma.