Skip to contents

Helper function to get population assignments for best K

Usage

pops_helper(gen, tess3_obj, K)

Arguments

gen

genotype dosage matrix (rows = individuals & columns = SNPs) or vcfR object

tess3_obj

list produced by tess3

K

K value

Value

population assignments for each individual based on max Q values