test_kimura: Monte Carlo Kolmogorov-Smirnov test for genetic drift

View source: R/drift.R

test_kimuraR Documentation

Monte Carlo Kolmogorov-Smirnov test for genetic drift

Description

Given heteroplasmy fractions h, test whether their distribution is consistent with random genetic drift.

Usage

test_kimura(h, num_MC = 1000, round = TRUE)

Arguments

h

numeric vector in [0; 1] of heteroplasmy fractions.

num_MC

number of Monte Carlo simulations.

round

logical, indicates whether heteroplasmy fractions are rounded to two significant digits.

Value

object of class htest

Examples

h <- seq(0.2, 0.5, 0.01)
test_kimura(h)

lbozhilova/kimura documentation built on May 7, 2023, 12:07 p.m.