Learn R Programming

sequoia (version 2.11.1)

DoErrors: Fortran Simulate Genotyping Errors

Description

Wrapper for Fortran function to simulate genotyping errors.

Usage

DoErrors(SGeno, Act2Obs)

Value

SGeno with errors.

Arguments

SGeno

matrix with genotype data, size nInd x nSnp.

Act2Obs

array with conditional probability of observing genotype i conditional on actual genotype j, size nSnp x 3 x 3.