Return individual ploidy
indiv_ploidy.Rd
Returns the ploidy for each individual.
Usage
indiv_ploidy(.x, ...)
# S3 method for class 'tbl_df'
indiv_ploidy(.x, ...)
# S3 method for class 'vctrs_bigSNP'
indiv_ploidy(.x, ...)
Arguments
- .x
a
gen_tibble
, or a vector of classvctrs_bigSNP
(usually thegenotype
column of agen_tibble
object)- ...
currently unused.
Value
a vector of ploidy, one per individuals in the gen_tibble