However, Fisher exact test is statistically equivalent to hypergeometric test, which can be calculated much faster in R. Χ 2 test is only suitable for GO terms containing very lot genes.
GOEAST uses hypergeometric test by default.