mk_subgroup_shuffling_function function

Created a shuffling function that permutes samples within certain subgroups of the container locations