Skip to contents

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.

Usage

track_sample_ids(split, iteration)

Arguments

split

A split object returned from split_stratified_ancestry_sets().

iteration

An integer iteration number to annotate the split with.

Value

A data.frame with columns: ids, role, and iteration.