Estimate missingness at each locus
loci_missingness.Rd
Estimate the rate of missingness at each locus.
Usage
loci_missingness(.x, as_counts = FALSE, ...)
# S3 method for class 'tbl_df'
loci_missingness(.x, as_counts = FALSE, ...)
# S3 method for class 'vctrs_bigSNP'
loci_missingness(.x, as_counts = FALSE, ...)
# S3 method for class 'grouped_df'
loci_missingness(.x, as_counts = FALSE, n_cores = bigstatsr::nb_cores(), ...)
Arguments
- .x
a vector of class
vctrs_bigSNP
(usually thegenotypes
column of agen_tibble
object), or agen_tibble
.- as_counts
boolean defining whether the count of NAs (rather than the rate) should be returned. It defaults to FALSE (i.e. rates are returned by default).
- ...
other arguments passed to specific methods.
- n_cores
number of cores to be used, it defaults to
bigstatsr::nb_cores()