uniformMap: Uniform recombination maps

Description Usage Arguments Value See Also Examples

View source: R/map_constructors.R

Description

Create a uniform recombination map of a given length.

Usage

1
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

1
2
3
uniformMap(M = 1)

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

ibdsim2 documentation built on Nov. 13, 2020, 5:06 p.m.