Learn R Programming

ibdsim2 (version 1.2)

uniformMap: 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.

Value

An object of class chromMap, which is a list of two matrices, named "male" and "female".

See Also

loadMap(), customMap()

Examples

Run this code
# NOT RUN {
uniformMap(M = 1)

m = uniformMap(Mb = 1, cM = 2:3)
# }

Run the code above in your browser using DataLab