powered by
Counts the number of recombinations for each individual based on the block structure.
recombinations(blockMatrix)
A numeric vector of recombination counts with length equal to the number of individuals (rows) in blockMatrix.
blockMatrix
bmh
genotype <- matrix(c( 2,1,0,0, 2,0,2,2, 0,0,2,2, 0,2,0,0 ), byrow = TRUE, ncol = 4) recombinations(bmh(genotype))
Run the code above in your browser using DataLab