read_coordinates | R Documentation |
SLiM simulates everything as part of a single continuous "chromosome". Therefore, matching simulated coordinates to their real coordinates requires their transposition into a 0-based continuous coordinate system. This function reads a table in a BED-like format that makes it possible to "reverse transpose" the simulated 0-based coordinates into their original form using the "transpose_sites" function.
read_coordinates(file)
file |
Path to a BED-like file. See the required format bellow. |
The coordinate file must be in a TSV format and must contain columns chrom, start, end, slim_start and slim_end.
GRanges object.
admixr::transpose_coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.