Reads EXPANDS output files from user-specified input directory.
gatherEXPANDSoutput(outDirEXPANDS,regex="")
Absolute path to input directory in which EXPANDS results are stored, as generated by runExPANdS
.
Pattern that path has to match in order to be read.
Two-level nested list. The outer level contains one entry per each output of runExPANdS
. Each entry constitutes an inner list with fields:
snv - The assignment of each SNV to a subpopulation. cbs - The copy number of each genomic segment in each subpopulation. spstats - Matrix of predicted subpopulations. tree - The inferred phylogenetic relationships between subpopulations as an object of class "phylo4" (library phylobase). treeApe - The inferred phylogenetic relationships between subpopulations as an object of class "phylo" (library ape).