Estimate individual observed heterozygosity
indiv_het_obs.Rd
Estimate observed heterozygosity (H_obs) for each individual (i.e. the frequency of loci that are heterozygous in an individual).
Usage
indiv_het_obs(.x, ...)
# S3 method for class 'tbl_df'
indiv_het_obs(.x, ...)
# S3 method for class 'vctrs_bigSNP'
indiv_het_obs(.x, ...)
Arguments
- .x
a vector of class
vctrs_bigSNP
(usually thegenotype
column of agen_tibble
object), or agen_tibble
.- ...
currently unused.
Value
a vector of heterozygosities, one per individuals in the gen_tibble