phred_score: Estimate Phred Quality Score score from probability of an...

View source: R/phred_scores.R

phred_scoreR Documentation

Estimate Phred Quality Score score from probability of an error

Description

Estimate Phred Quality Score score from probability of an error

Usage

phred_score(p)

Arguments

p

Probability that the base is called wrong.

Value

Phred Q-Score

See Also

phred_inverse

Examples

phred_score(c(0.001, 0.01, 0.05, 0.1))


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