Description Usage Arguments Value See Also Examples
are_in_lr
indicates which variants from the variant file lie within the
provided linkage region.
1 |
chr |
The linkage region chromosome. Takes values from 1 to 22 (autosomal) and X, Y, M (sex and mitochondrial). |
startbp, endbp |
The start and end base pair coordinates. |
vars |
The data frame of vars. |
A logical vector of length equal to nrow(vars), indicating if the row is within any of the linkage regions.
1 2 3 4 5 | ## Not run:
# assumes you have a vars data frame
big_logical_vec <- are_in_lr(chr = 4, startbp = 10000, endbp = 50000, vars)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.