phredScoreStringToInt | R Documentation |
Turn the cryptic Phred quality scores from FASTQ files, etc., into integers
phredScoreStringToInt(txt, scoreType = "Phred33")
txt |
character vector of Phred quality score strings |
scoreType |
type of offset used for the ASCII coded scores. Currently, only 'Phred33' and 'Phred66' are supported. |
Most efficient for strings of equal length.
an integer matrix with NR rows and NC columns, where NR = length(txt)
and NC = max(nchar(txt))
. Each element is the Phred score of one
DNA base call.
phredScoreStringToInt( c( "_ABBBB&&.#$&", "IIIIIIIIIIII"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.