Grid of tumor purities, tumor ploidies is sorted by the associated values of kappas (values of the objective function) and top k values (i.e., with the smallest kappa) are returned
Source:R/topk.R
topk.Rd
Grid of tumor purities, tumor ploidies is sorted by the associated values of kappas (values of the objective function) and top k values (i.e., with the smallest kappa) are returned
Arguments
- grid
grid of tumor purities, tumor ploidies (matrix)
- kappas
vector of associated values of the objective function kappa
- k
top k to be returned