recombinations {hsphase} | R Documentation |
Recombination Number
Description
Counts the number of recombinations for each individual.
Usage
recombinations(blockMatrix)
Arguments
blockMatrix |
|
Value
Returns a vector of recombinations. The number of elements in this vector is equal to the number of individuals, i.e. each element holds the number of recombinations identified for each sample.
See Also
Examples
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))
[Package hsphase version 2.0.3 Index]