phred_inverse: Estimate probability of an error based on the Phred-score.

View source: R/phred_scores.R

phred_inverseR Documentation

Estimate probability of an error based on the Phred-score.

Description

Estimate probability of an error based on the Phred-score.

Usage

phred_inverse(q)

Arguments

q

= Phred Quality Score

Value

Probability that the base is called wrong.

See Also

phred_score

Examples

phred_inverse()
phred_inverse(30)
data.frame(Q = 2:42, ProbError = phred_inverse(2:42))


vmikk/metagMisc documentation built on June 20, 2024, 7:20 a.m.