Modeling of gene and protein networks in the context of plant immunity