This function returns binary clustering results.
heteroFlagis a flag that represents a status whether a given cluster is heterogeneous (having sub-clusters). It is TRUE if maxDiffAdmixRatio >= admixRatioThs
.
clusterInxis a vector of clustering assignment where indexClsVec[i]
is a cluster number of individual i.
meanDiffAdmixRatiois a vector of magnitude-difference of admixture ratios.
It is calculated by splitting a given cluster into two sub-clusters. Then, we take the absolute on the difference between mean admixture ratios of sub-clusters.
Qmat1is a Q matrix of sub-cluster #1 after splitting a given cluster into two sub-clusters that contains admixture ratios of all individuals where the Qmat[i,j]
represents the admixture ratio of ancestor j for individual i.
Qmat2is a Q matrix of sub-cluster #2 after splitting a given cluster into two sub-clusters that contains admixture ratios of all individuals where the Qmat[i,j]
represents the admixture ratio of ancestor j for individual i.
maxDiffAdmixRatiois a maximum of magnitude-difference of admixture ratios for a given cluster before splitting into two sub-clusters.