Learn R Programming

sim1000G (version 1.40)

readGeneticMapFromFile: Reads a genetic map to be used for simulations. The genetic map should be of a single chromosome and covering the extent of the region to be simulated. Whole chromosome genetic maps can also be used.

Description

The file must be contain the following columns in the same order: chromosome, basepaire, rate(not used), centimorgan

Usage

readGeneticMapFromFile(filelocation)

Arguments

filelocation

Filename containing the genetic map

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
fname = downloadGeneticMap(10)

cat("genetic map downloaded at :", fname, "\n")
readGeneticMapFromFile(fname)

# }

Run the code above in your browser using DataLab