Functional characterization of genetic alterations in cancer