readGeneticMapFromFile {sim1000G} | R Documentation |
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
## Not run:
fname = downloadGeneticMap(10)
cat("genetic map downloaded at :", fname, "\n")
readGeneticMapFromFile(fname)
## End(Not run)
[Package sim1000G version 1.40 Index]