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
See also
Other TESS functions:
allK_plot_helper(),
bestK(),
geom_tess(),
ggbarplot_helper(),
tess_barplot(),
tess_col_default(),
tess_do_everything(),
tess_ggbarplot(),
tess_ggplot(),
tess_krig(),
tess_ktest(),
tess_legend(),
tess_plot_allK()