
Reorder the q matrices based on the grouping variable
Source:R/gt_admix_methods.R
gt_admix_reorder_q.Rd
This function reorders the q matrices in a gt_admix
object based on the
grouping variable. This is useful before plotting when the samples from each
group are not adjacent to each other in the q matrix.