transpose_coordinates | R Documentation |
SLiM simulates all mutations as part of a single continuous "chromosome". Therefore, simulating fixed mutations that are present in a real genome requires their transposition into a 0-based continuous coordinate system. This function performs this transposition based on the given positions of the sites in their original coordinate system.
transpose_coordinates(sim_coords, real_coords)
sim_coords |
GRanges object with SLiM, 0-based coordinates. |
real_coords |
GRanges object with real coordinate. |
The real_coords GRanges object must contain a DataFrame object with three columns specifying a realistic chromosome, start and end coordinate of a region.
GRanges object with transposed coordinates.
read_coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.