phredmean: calculate mean Phred scores from list of Q values

Description Usage Arguments Value Examples

View source: R/Phred.R

Description

This method calculates the mean quality value from a list of q-values; handles the challenge of relative log-scaling of the Q and challenges of a more linear mean; this avoids an artificial inflation of phred-scores

Usage

1

Arguments

q

is a vector of q values

Value

mean phred scaled q-value

Examples

1
2
mean(c(20,30,40))
phredmean(c(20,30,40))

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.