qualityScore: Convert probability to quality score

Description Usage Arguments Value Examples

Description

Calculates the quality score (Phred or Solexa) given a probability of error.

Usage

1
2
3

Arguments

p

Probability of error.

Value

phredQualityScore(p) returns a Phred quality score.

solexaQualityScore(p) returns a Solexa quality score.

Examples

1
2
3

svilsen/STRMPS documentation built on May 31, 2019, 7:55 a.m.