Returns the ploidy for each individual.

indiv_ploidy(.x, ...)

# S3 method for class 'tbl_df'
indiv_ploidy(.x, ...)

# S3 method for class 'vctrs_bigSNP'
indiv_ploidy(.x, ...)

# S3 method for class 'grouped_df'
indiv_ploidy(.x, ...)

Arguments

.x

a gen_tibble, or a vector of class vctrs_bigSNP (usually the genotype column of a gen_tibble object)

...

currently unused.

Value

a vector of ploidy, one per individuals in the gen_tibble