genmap2recombfreq: Create a matrix of pairwise recombination frequencies from a...

View source: R/helpers.R

genmap2recombfreqR Documentation

Create a matrix of pairwise recombination frequencies from a genetic map

Description

Compute the pairwise recombination frequencies between all loci from genetic map positions.

Usage

genmap2recombfreq(m, nChr)

Arguments

m

vector of centiMorgan-scale genetic positions. names(m) correspond to a SNP_ID. Since m potentially contains all chromosomes, sets recomb. freq. b/t chrom. to 0.5

nChr

number of chromosomes

Details

names(m) must be formatted as "chr"_"id" with "chr" being integer. For example: 2_QTL1 for a locus on chr. 2. May be worth computing in an R session using multi-threaded BLAS.

Value

potentially really large matrix of pairwise recombination frequencies between loci

See Also

Other helper: backsolveSNPeff(), centerDosage(), crosses2predict(), dose2domDevGenotypic(), dose2domDev(), effectsArray2list(), genoVarCovarMatFunc(), getAF(), getMAF(), getPropHom(), intensity(), kinship(), maf_filter(), quadform(), remove_invariant()


wolfemd/genomicMateSelectR documentation built on July 1, 2022, 10:42 p.m.