This is R code for testing whether two tumors from the same patient are clonal (metastasis) or independent (double primary) based on their genomewide copy number profiles.
[download zip file]
The methodology is described in this [link to manuscript]. The software segments the data and calculates likelihood ratio statistic that represents the relative odds of clonality versus independence. The reference distribution and various plots can also be created. The .zip file contains two .R code files and a Word file with software description and instructions. R statistical software environment is required (http://www.r-project.org/)