chr_lengths | R Documentation |
Calculate chromosome lengths for a map object
chr_lengths(map, collapse_to_AX = FALSE)
map |
A list of vectors, each specifying locations of the markers. |
collapse_to_AX |
If TRUE, collapse to the total lengths of the autosomes and X chromosome. |
We take diff(range(v))
for each vector, v
.
A vector of chromosome lengths. If
collapse_to_AX=TRUE
, the result is a vector of length 2
(autosomal and X chromosome lengths).
scan1perm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.