Learn R Programming

ShortRead (version 1.30.0)

alphabetScore: Efficiently calculate the sum of quality scores across bases

Description

This generic takes a QualityScore or PhredQuality object and calculates, for each read, the sum of the encoded nucleotide probabilities.

Usage

alphabetScore(object, ...)

Arguments

object
An object of class QualityScore.
...
Additional arguments, currently unused.

Value

A vector of numeric values of length equal to the length of object.