A blood test could help physicians determine who is at greatest risk of suffering a heart attack or stroke.