#Knitr settings
knitr::opts_chunk$set(
  warning=FALSE, message=FALSE, echo=TRUE, tidy=FALSE, error=FALSE,
  fig.show='hold', fig.width=3.5, fig.height = 3.5
)
options(width=150)
if(is.null(experiment)) experiment <- "Sequencing data"

Required R packages

library(fastqcr)
library(dplyr)

Reading the file

# Read all modules
qc <- qc_read(qc.path)
# Elements contained in the qc object
names(qc)

Plotting and Interpreting

Summary

Summary shows a summary of the modules which were tested, and the status of the test resuls:

Some experiments may be expected to produce libraries which are biased in particular ways. You should treat the summary evaluations therefore as pointers to where you should concentrate your attention and understand why your library may not look normal.

qc_plot(qc, "summary")

Basic Statistics

Basic statistics shows basic data metrics such as:

qc_plot(qc, "Basic statistics")

Per base sequence quality

qc_plot(qc, "Per base sequence quality")

Per sequence quality scores

qc_plot(qc, "Per sequence quality scores")

Per base sequence content

qc_plot(qc, "Per base sequence content")

Per sequence GC content

qc_plot(qc, "Per sequence GC content")

Per base N content

qc_plot(qc, "Per base N content")

Sequence length distribution

qc_plot(qc, "Sequence length distribution")

Sequence duplication levels

qc_plot(qc, "Sequence duplication levels")

Overrepresented sequences

qc_plot(qc, "Overrepresented sequences")

Adapter content

qc_plot(qc, "Adapter content")

Kmer content

qc_plot(qc, "Kmer content")

Useful Links



kassambara/fastqcr documentation built on Feb. 25, 2023, 7:36 a.m.