This function generates a pairwise assignment matrix with mean and variation of assignment accuracies estimated across all assignment tests.
assign.matrix(
dir = NULL,
train.loci = "all",
train.inds = "all",
k.fold = "all"
)The function returns a matrix in R console as well as a file named "assignment_matrix.txt" in the folder.
A character string to specify the folder that has your cross-validation assignment results.
Choose your proportions of training loci used in Monte-Carlo or K-fold cross-validation. Default is "all".
Choose your numbers or proportions of training individuals used in Monte-Carlo cross-validation. Default is "all".
Choose the k fold values used in K-fold cross-validation. Default is "all".