Skip to contents

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

Usage

generate_strata(data, pop.id = FALSE)

Arguments

data

A tidy dataset object. Documented in tidy_genome.

pop.id

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

Author

Thierry Gosselin thierrygosselin@icloud.com