View source: R/loci_transversions.R
loci_transversions | R Documentation |
Use the loci table to define which loci are transversions
loci_transversions(.x, .col = "genotypes", ...)
## S3 method for class 'tbl_df'
loci_transversions(.x, .col = "genotypes", ...)
## S3 method for class 'vctrs_bigSNP'
loci_transversions(.x, .col = "genotypes", ...)
.x |
a vector of class |
.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. |
... |
other arguments passed to specific methods. |
a logical vector defining which loci are transversions
example_gt <- load_example_gt("gen_tbl")
example_gt %>% loci_transversions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.