powered by
As the parental genotypes we assumed, this function can calculate how many recombination events would be needed to produce genotypes of RILs.
NumRecomEvents(baseData, allele.matrix, genoData = NULL)
matirx of SNP
matrix: alleles of parental genotypes
matirx of SNP which has been formatted.
the number of recombination events
We wrote core code for calculating the number of recombination events in C to improve computational speed.
localMPR
# NOT RUN { set.seed(123) data(myBaseData) allele.random <- base2Allele(myBaseData) NumRecomEvents(myBaseData,allele.random) # 162 # }
Run the code above in your browser using DataLab