DoErrors: Fortran Simulate Genotyping Errors
Description
Wrapper for Fortran function to simulate genotyping errors.
Usage
DoErrors(SGeno, RealToObs)
Arguments
SGeno
matrix with genotype data, size nInd x nSnp.
RealToObs
array with conditional probability of observing genotype i
conditional on actual genotype j, size nSnp x 3 x 3.