generate_strata: Generate strata object from the data

generate_strataR Documentation

Generate strata object from the data

Description

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_genomic_data.

pop.id

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

Author(s)

Thierry Gosselin thierrygosselin@icloud.com

See Also

read_strata, summary_strata, individuals2strata, change_pop_names, join_strata


thierrygosselin/radiator documentation built on May 5, 2024, 5:12 a.m.