Description Usage Arguments Details Value Author(s) References Examples
The Fastqq
objects contain position-wise counted phred values. The mergedPhred
function adds the counted values for all fastq files together into a single matrix. The matrix then again contains position-wise counted phred values. The mergedPhredQuantiles
and plotMergedPhredQuant
are analogues to the phredQuantiles
and plotPhredQuant
functions.
1 2 3 | mergedPhred(object)
mergedPhredQuantiles(object, quantiles)
plotMergedPhredQuant(object, main, ...)
|
object |
|
quantiles |
|
main |
|
... |
Optional arguments which are passed to the |
The function adds the phred values from all contained fastq data.
mergedPhred
returns a matrix
with 94 rows and (maxSeqLen+1) columns. mergedPhredQuantiles
returns a data.frame
with one row for each given quantile and max(seqLen(.)) columns. plotMergedPhredQuant
returns nothing.
Wolfgang Kaisers
Cock PJA, Fields CJ, Goto N, Heuer ML, Rice PM The sanger fastq file format for sequences with quality scores and the Solexa/Illumina fastq variants. Nucleic Acids Research 2010 Vol.38 No.6 1767-1771\ Ewing B, Green P Base-calling of automated sequencer traces using phred. II. Error probabilities. Genome Research 1998 Vol. 8 No. 3 186-194
1 2 3 4 5 6 7 8 9 | basedir<-system.file("extdata",package="seqTools")
setwd(basedir)
fq<-fastqq(c("g4_l101_n100.fq.gz","g5_l101_n100.fq.gz"),k=4,probeLabel=c("g4","g5"))
#
ph<-mergedPhred(fq)
ph[25:35,1:15]
pq<-mergedPhredQuantiles(fq,c(0.25,0.5,0.75))
plotMergedPhredQuant(fq)
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.