Methods and apparatus for analyzing and quantifying dna alterations in cancer