assignMutations(dm, finalSPs, max_PM=6)
clusterCellFrequencies.
cellfrequency_pdf.
cellfrequency_pdf
).cellfrequency_pdf
):
1. $x:=s$ --> Separate fit of SNV and CNV. CNV does not influence ploidy of the SNV, either because CNV occurs before SNV or because SNV and CNV occur independently from each other (i.e. they are never co-propagated during the same clonal expansion)
2. $x:=p$ --> Partial dependency of SNV ploidy on CNV. The SNV is propagated during the expansion of $C$. Subsequently, the CNV is propagated during a clonal expansion of a cell-member of $C$.
3. $x:=j$ --> Joint fit of SNV and CNV, assuming they co-occur together in the same cell and are propagated during the exact same clonal expansion.
The SNV is then assigned to subpopulation $C:=argmax_C (P_s(f_C), P_p(f_C), P_j(f_C))$.
The mutated loci assigned to each subpopulation cluster represent the genetic profile of each predicted subpopulation.
The assignment between subpopulation $C$ and locus $l$ only implies that the SNV at $l$ has been first propagated during the clonal expansion that gave rise to $C$. So SNVs present in $C$ may not be exclusive to $C$ but may also be present in subpopulations smaller than $C$. Whether or not this is the case depends on the phylogenetic structure of the subpopulation composition. See also buildPhylo
.clusterCellFrequencies