Recombination frequencies computation

Description

Calculate recombination frequencies for a whole matrix

Usage

1
calcRec(input, ploidy, sparse = FALSE, ...)

Arguments

input

Matrix of genotypes. Rows represent markers. Columns represent samples.

ploidy

Ploidy level of the organism.

sparse

Logical, if the matrix is a sparse matrix or not.

...

arguments are forwarded to pairwRF.

Value

Matrix of pairwise recombination frequencies.

Examples

1
2
3
data(simTetra)
simTetraGen <- bases2genotypes(simTetra, ploidy = 4)
calcRec(simTetraGen, 4)