Use genetic maps available at https://github.com/joepickrell/1000-genomes-genetic-maps/ to interpolate physical positions (in bp) to genetic positions (in cM).
Vector of integers specifying each SNP's chromosome.
Vector of integers specifying the physical position
on a chromosome (in base pairs) of each SNP.
Number of cores used. Default doesn't use parallelism. You may use nb_cores.
If providing rsIDs, the matching is performed using those (instead of positions) and variants not matched are interpolated using spline interpolation of variants that have been matched.
Whether to use the genetic maps interpolated from "OMNI" (the default), or from "hapmap".
The new vector of genetic positions.