readGeneticMap {sim1000G}R Documentation

Reads a genetic map downloaded from the function downloadGeneticMap or reads a genetic map from a specified file. If the argument filename is used then the genetic map is read from the corresponding file. Otherwise, if a chromosome is specified, the genetic map is downloaded for human chromosome using grch37 coordinates.

Description

The map must contains a complete chromosome or enough markers to cover the area that will be simulated.

Usage

readGeneticMap(chromosome, filename = NA, dir = NA)

Arguments

chromosome

Chromosome number to download a genetic map for , or

filename

A filename of an existing genetic map to read from (default NA).

dir

Directory the map file will be saved (only if chromosome is specified).

Examples





readGeneticMap(chromosome = 22)




[Package sim1000G version 1.40 Index]