View source: R/show_genotypes.R
show_genotypes | R Documentation |
gen_tibble
Extract the genotypes (as a matrix) from a gen_tibble
.
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, ...)
.x |
a vector of class |
indiv_indices |
indices of individuals |
loci_indices |
indices of loci |
... |
currently unused. |
a matrix of counts of the alternative alleles (see show_loci()
) to
extract information on the alleles for those loci from a gen_tibble
.
example_gt <- load_example_gt("gen_tbl")
example_gt %>% show_genotypes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.