uniformMap {ibdsim2} | R Documentation |
Uniform recombination maps
Description
Create a uniform recombination map of a given length.
Usage
uniformMap(Mb = NULL, cM = NULL, M = NULL, cmPerMb = 1, chrom = 1)
Arguments
Mb |
Map length in megabases. |
cM |
Map length in centiMorgan. |
M |
Map length in Morgan. |
cmPerMb |
A positive number; the cM/Mb ratio. |
chrom |
A chromosome label, which may be any string. The values "X" and
"23" have a special meaning, both resulting in the |
Value
An object of class chromMap
. See loadMap()
for details.
See Also
Examples
m = uniformMap(Mb = 1, cM = 2:3)
m
m$male
m$female
mx = uniformMap(M = 1, chrom = "X")
mx
mx$male
mx$female
[Package ibdsim2 version 2.0.0 Index]