A subdiscipline of genetics which deals with the genetic basis of the immune response. Description adapted from: https://www.ncbi.nlm.nih.gov/mesh/68007125.