powered by
phf(GenotypeMatrix, blockMatrix, sirePhasedMatrix)
Matrix
bmh
ssp
aio
genotype=matrix(c( 2,1,0, 2,0,0, 0,0,2),byrow=TRUE,ncol=3) block = bmh(genotype) phf(genotype, block, ssp(block, genotype))
Run the code above in your browser using DataLab