pbias_double: A double version of 'pbias'.

Description Usage Arguments Author(s) See Also

View source: R/RcppExports.R

Description

A double version of pbias.

Usage

1
pbias_double(prob, bias, seq_error)

Arguments

prob

A numeric vector. Each element is the proportion of genomes that contain the reference allele. This should take on one of the values 0/K, 1/K, ... , K/K, where K is the ploidy of the individual.

bias

The bias parameter. Should be greater than or equal to zero, though is typically less than 1. A 1 indicates no bias. A value less than one indicates a bias towards the reference allele. A value greater than 1 indicates a bias towards the non-reference allele.

seq_error

The sequencing error rate. This should be between 0 and 1.

Author(s)

David Gerard

See Also

pbias.


dcgerard/updogAlpha documentation built on May 14, 2019, 3:10 a.m.