get_map: Get genetic build 37 recombination map

Description Usage Arguments Details Value

View source: R/map.R

Description

Retrieves 1000 Genomes phase 3 recombination map data for a specified population.

Usage

1
get_map(pop = "CEU", write_map = FALSE)

Arguments

pop

A 1000 Genomes population code. Default "CEU".

write_map

Write a serialized dataframe of the map data to disk. Default FALSE, does not write the map to disk but instead returns a dataframe.

Details

Map data is retrieved from www.internationalgenome.org. Previously retrieved map data from mathgen.stats.ox.ac.uk.

Value

A dataframe. If write_map is TRUE, then the recombination map is written to the working directory as genetic_map_b37_<pop>.rds. Note. the map is ~22MB.


kenhanscombe/associatr documentation built on Nov. 13, 2020, 9:24 a.m.