Show the genotypes of a gen_tibble
show_genotypes.Rd
Extract the genotypes (as a matrix) from a gen_tibble
.
Usage
show_genotypes(.x, indiv_indices = NULL, loci_indices = NULL, ...)
# S3 method for class 'tbl_df'
show_genotypes(.x, indiv_indices = NULL, loci_indices = NULL, ...)
# S3 method for class 'vctrs_bigSNP'
show_genotypes(.x, indiv_indices = NULL, loci_indices = NULL, ...)
Arguments
- .x
a vector of class
vctrs_bigSNP
(usually thegenotype
column of agen_tibble
object), or agen_tibble
.- indiv_indices
indices of individuals
- loci_indices
indices of loci
- ...
currently unused.
Value
a matrix of counts of the alternative alleles (see show_loci()
) to
extract information on the alleles for those loci from a gen_tibble
.