sim_find_cov_from_mgr: This function computes the coverage given the desired missing...

View source: R/sim_find_cov_from_mgr.R

sim_find_cov_from_mgrR Documentation

This function computes the coverage given the desired missing genotype rate

Description

This function computes the coverage of the simulation given the desired missing genotype rate by reversing the poisson density function and taking the negative natural log of the input missing genotype rate

Usage

sim_find_cov_from_mgr(missing_genotype_rate)

Arguments

missing_genotype_rate

a numeric, if greater than 1, assumed to be a percentage and is divided by 100.

Value

coverage a numeric, the coverage of the simulation corresponding to the desired missing_genotype_rate


mccoy-lab/rhapsodi documentation built on July 27, 2022, 3:56 a.m.