evaluate_nnls.mat2
evaluate_nnls.mat2.Rd
evaluate_nnls.mat2 function solves nonnegative least squares problems. It requires two matrices, one ('donors') refers to the source groups, the second ('recipients') refers to the admixed groups
Value
Returns matrix describing the admixed groups as a mixture of the source groups, along with the residuals
Examples
if (FALSE) {
nnls.mat2(donors = my_source_individuals_matrix,recipients = my_admixed_individuals_matrix)
}