This function plots a visual summary of the distribution of quality scores as a function of sequence position for the input fastq file.
plotQualityProfile(fl, n = 1e+06)
(Optional). Default 1,000,000. The number of records to sample from the fastq file.
The distribution of quality scores at each position is shown as a grey-scale heat map, with dark colors corresponding to higher frequency. The plotted lines show positional summary statistics: green is the mean, orange is the median, and the dashed orange lines are the 25th and 75th quantiles.
Will be rendered to default device if
or can be stored and further modified.
ggsave for additional options.