Incorporating genetic selection into individual‐based models of malaria and other infectious diseases