dkimura: The Kimura distribution

View source: R/kimura-distribution.R

dkimuraR Documentation

The Kimura distribution

Description

Estimate the Kimura(p, b) probability density function.

Usage

dkimura(x, p, b)

Arguments

x

numeric vector of values in [0; 1].

p

number in (0; 1): initial heteroplasmy.

b

number in (0; 1): drift parameter.

Value

The density of Kimura(p, b), evaluated at x. Note there is a fixed probability at both extremes of the distribution.

References

Wonnapinij, Passorn, Patrick F. Chinnery, and David C. Samuels. "The distribution of mitochondrial DNA heteroplasmy due to random genetic drift." The American Journal of Human Genetics 83.5 (2008): 582-593.

Kimura, Motoo. "Solution of a process of random genetic drift with a continuous model." Proceedings of the National Academy of Sciences of the United States of America 41.3 (1955): 144.

Examples

dkimura(c(0, 0.2, 0.3), 0.3, 0.5)

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