Show the ploidy information of a gen_tibble
show_ploidy.Rd
Extract the ploidy information from a gen_tibble
. NOTE that this function
does not return the ploidy level for each individual (that is obtained with
indiv_ploidy
); instead, it returns an integer which is either the ploidy
level of all individuals (e.g. 2 indicates all individuals are diploid),
or a 0 to indicate mixed ploidy.
Usage
show_ploidy(.x, ...)
# S3 method for class 'tbl_df'
show_ploidy(.x, ...)
# S3 method for class 'vctrs_bigSNP'
show_ploidy(.x, ...)
Arguments
- .x
a vector of class
vctrs_bigSNP
(usually thegenotype
column of agen_tibble
object), or agen_tibble
.- ...
currently unused.