Idiosyncrasies to drugs are related to

Genetic factors

Species

Age of the patient

All of the above