Unraveling the roles of genotype and environment in the expression of plant defense phenotypes