Learn R Programming

seqTools (version 1.6.0)

phredTable: phredTable: Returns a data.frame with phred encodings.

Description

The function calculates characters and corresponding ascii values for a given range of phred values. As default, a data.frame with all valid phred values {0,...,93} is returned.

Usage

phredTable(phred)

Arguments

phred
numeric. Vector with phred values. All values must be in 0:93

Value

. The data.frame has three columns: "ascii","phred" and "char"

References

Ewing B, Green P Base-calling of automated sequencer traces using phred. II. Error probabilities. Genome Research 1998 Vol. 8 No. 3 186-194

See Also

char2ascii

Examples

Run this code
phredTable()

Run the code above in your browser using DataLab