Generate a strata object from the data. The function uses the POP_ID or STRATA columns along the INDIVIDUALS.

generate_strata(data, pop.id = FALSE)

Arguments

data

A tidy dataset object. Documented in tidy_genomic_data.

pop.id

(logical) When pop.id = TRUE, the strata returns the stratification colname POP_ID. Default: pop.id = FALSE, returns STRATA.

Author

Thierry Gosselin thierrygosselin@icloud.com