Functions from package starmie for merging Q matrices from Structure runs using the CLUMPP algorithms.
Useful links