co {hsphase} | R Documentation |
Crossover Detection
Description
Detect all possible crossover events.
Usage
co(genotypeMatrix)
Arguments
genotypeMatrix |
|
Value
Returns a matrix with the number of crossover events for each site.
Examples
genotype <- matrix(c( # Define a Half-sib Genotype Matrix
2,1,0, # Individual 1
2,0,2, # Individual 2
0,0,2 # Individual 3
), byrow = TRUE, ncol = 3) # There are 3 individuals with three SNPs
co(genotype)
[Package hsphase version 2.0.3 Index]