simulate_genos_from_posterior: simulate_genos_from_posterior

simulate_genos_from_posteriorR Documentation

simulate_genos_from_posterior

Description

simulate values for the genotypes given the observed genotype, then estimate allele frequencies, and the genotyping error rate.

This is a helper function for the estimate_m function

Usage

simulate_genos_from_posterior(D, p, m)

Arguments

D

an 012,-1 matrix of observed genotypes

p

the estimated allele freqs

m

the genotyping error rate (must be a scalar)

Author(s)

Eric Anderson eric.anderson@noaa.gov


thierrygosselin/radiator documentation built on May 5, 2024, 5:12 a.m.