Whole-rock geochemistry represents a powerful tool in deciphering petrogenesis of magmatic suites, including granitoids, that can be used to formulate and test hypotheses qualitatively and often also quantitatively. Typically, it can rule out impossible/improbable scenarios and further constrain the process inferred on geological and petrological grounds.
With the current explosion of high-precision data, both newly acquired and retrieved from extensive databases, the whole-rock geochemistry-based petrogenetic modelling of igneous rocks will gain further importance. Especially promising is its combination with thermodynamic modelling into a single, coherent and comprehensive software, using the R and Python languages.