Genetic factors like the SLCO1B1 gene variant can significantly affect statin tolerance, causing muscle pain in some people. Pharmacogenomics testing helps identify those at risk, guiding safer statin choices - especially for simvastatin.