phred: Understand Phred quality

Description Usage Arguments Value Author(s)

Description

Convert between Phred quality index and error probablity

Usage

1
phred(val, get = "error")

Arguments

val

A error (range 0 to 1) or quality (greather than 0) value to be converted whether to Phred quality or error probability.

get

Specify to what you want to convert the value: 'error' convert a Phred value to error and 'quality' convert a desired error probability to Phred quality

Value

A error probability of a Phred quality or the Phred quality associated with a error.

Author(s)

Elves H Duarte


ehelegam/elvesR documentation built on May 16, 2019, 12:15 a.m.