[Pharmacogenomics]() is the study of how genes affect a person's response to drugs. This field is closely related to toxicology because it helps in understanding why certain individuals experience adverse drug reactions while others do not. For instance, mutations in the TPMT gene can lead to severe toxicity in patients treated with thiopurine drugs.