Extracts the sample IDs from a split object and labels their roles (test, train, inference), associating each sample with its assigned role in a given iteration.
Arguments
- split
A split object returned from
split_stratified_ancestry_sets()
.- iteration
An integer iteration number to annotate the split with.