Pathologists at the Stanford University School of Medicine are trying out a new test from a Sunnyvale company that could give cancer patients a better chance of getting the most effective treatment.