View source: R/loci_chromosomes.R
loci_chromosomes | R Documentation |
gen_tibble
Extract the loci chromosomes from a gen_tibble
(or directly from its
genotype
column).
loci_chromosomes(.x, .col = "genotypes", ...)
## S3 method for class 'tbl_df'
loci_chromosomes(.x, .col = "genotypes", ...)
## S3 method for class 'vctrs_bigSNP'
loci_chromosomes(.x, .col = "genotypes", ...)
.x |
a |
.col |
the column to be used when a tibble (or grouped tibble is passed directly to the function). This defaults to "genotypes" and can only take that value. There is no need for the user to set it, but it is included to resolve certain tidyselect operations. |
... |
currently unused. |
a character vector of chromosomes
example_gt <- load_example_gt("gen_tbl")
example_gt %>% loci_chromosomes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.