Optimization of clone positions and proportion of mutations in each clone, based on the previously calculated expectation
m.step(fik, Schrod, previous.weights, previous.centers, contamination,
adj.factor, optim = "default")Matrix giving the probability of each mutation to belong to a specific clone
A list of dataframes (one for each sample), generated by the Patient_schrodinger_cellularities() function.
Weights from the previous optimization step (used as priors for this step)
Clone coordinates from previous optimization step (used as priors for this step)
Numeric vector with the fraction of normal cells contaminating the sample
Factor to compute the probability: makes transition between the cellularity of the clone and the frequency observed
use L-BFS-G optimization from R ("default"), or from optimx ("optimx"), or Differential Evolution ("DEoptim")