Count the number of loci in gen_tibble (or directly from its genotype column).

count_loci(.x, ...)

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

# S3 method for class 'vctrs_bigSNP'
count_loci(.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

the number of loci