View source: R/is_loci_table_ordered.R
is_loci_table_ordered | R Documentation |
This functions checks that all SNPs in a chromosome are adjacent in the loci table, and that positions are sorted within chromosomes.
is_loci_table_ordered(
.x,
error_on_false = FALSE,
ignore_genetic_dist = TRUE,
...
)
## S3 method for class 'tbl_df'
is_loci_table_ordered(
.x,
error_on_false = FALSE,
ignore_genetic_dist = TRUE,
...
)
## S3 method for class 'vctrs_bigSNP'
is_loci_table_ordered(
.x,
error_on_false = FALSE,
ignore_genetic_dist = TRUE,
...
)
.x |
a vector of class |
error_on_false |
logical, if |
ignore_genetic_dist |
logical, if |
... |
other arguments passed to specific methods. |
a logical vector defining which loci are transversions
example_gt <- load_example_gt("gen_tbl")
example_gt %>% is_loci_table_ordered()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.