[Pharmacogenomics](https://www.ncbi.nlm.nih.gov/) is the broader study of how genes affect a person's response to drugs, encompassing the entire genome. Pharmacogenetics focuses more narrowly on individual genetic variations. Both fields aim to optimize drug therapy by tailoring treatments based on genetic profiles, thereby minimizing adverse effects and maximizing therapeutic efficacy.