Learn R Programming

sequoia (version 2.0.7)

DoErrors: 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

Value

SGeno with errors