Detection of compound mode of action by computational integration of whole-genome measurements and genetic perturbations