calcRec: Recombination frequencies computation

Description Usage Arguments Value Examples

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)


Search within the pergola package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.