For each candidate model in tier1, evaluates the mean distance to integer copy number for diploid and non-diploid segments, and returns a summary table sorted by total distance.
Arguments
- tier1
Data frame or tibble. Each row is a candidate model with columns
mu,rho,total_log_likelihood, andsegments_n.- df
Data frame or tibble. All segment call likelihoods (see
ExtractCall).- seg
Data frame or tibble. Segment information.
- gender
gender options to be passed to
RefineCalls.
Value
A data frame with one row per model, including columns:
- mu
Mutation multiplicity.
- rho
Tumor purity.
- total_log_likelihood
Total log-likelihood for the model.
- segments_n
Number of segments.
- diploid_n
Number of diploid segments.
- diploid_distance_to_integer
Mean distance to integer CN for diploid segments.
- nondiploid_n
Number of non-diploid segments.
- nondiploid_distance_to_integer
Mean distance to integer CN for non-diploid segments.
- total_distance_to_integer
Sum of diploid and non-diploid mean distances.
