An analysis of genetic heterogeneity in untreated cancers