generatingGausianMeansAL5Copies.java// generate Gaussian means for different genotypes and prevalence levelsgeneratingGausianMeansAL5CopiesNoCNAs.java// generate Gaussian means for different genotypes and prevalence levels when there is no CNA eventupdateOffDiagonalElementsForEMUntieVariances.java// update the diagonal elements in the transition matrices and process the input as the required format for GMTK, this piece of code is used for joint analysis of multiple biopsiesupdateOffDiagonalElementsForEMUntieVariancesIndividualAnalysis.java// update the diagonal elements in the transition matrices and process the input as the required format for GMTK, this piece of code is used for individual biopsy analysisgeneratingModelSpecificationFilesJointAnalysis.java// generate model specification files for multiple biopsy joint analysisgeneratingModelSpecificationFilesIndividualAnalysis.java// generate model specification files for individual biopsy analysisllRat.py// compare log-likelihood with that from last iteration
Example dataset used by THEMIS is combinedData_01-1-B2_01-2-B2_01-4-B3.txt
The documentation of the source code and model specification files are provided in doc.md
individualAnalysisAuto// a directory for performing individual biopsy analysisjointAnalysisAuto// a directory for performing multiple biopsy joint analysisstructure.txt// a text file which specifies a candidate phylogenetic structure in joint analysis
trainTestIndividualAnalysisAuto.sh// contains the script for individual biopsy analysis.trainTestJointAnalysisAuto.sh// contains the script for multiple biopsy joint analysis.
A tutorial for replicating our analysis on the sample dataset is provided in tutorial.md