qProject
object or a vector
of fasta/fastq/bam files. The available plot vary depending on the types
of available input (fasta, fastq or bam files).
qQCReport(input, pdfFilename=NULL, chunkSize=1e6L, useSampleNames=FALSE, clObj=NULL, ...)
qProject
object as
returned by qAlign
NULL
, the quality control plots will be
generated in separate plotting windows on the standard graphical
device.qProject
object, or from names(input)
if
input
is a named vector of file names. Please not that if
there are multiple files for the same sample, the sample names
will not be unique.qProject
object, allowing assessment of the quality of a
sequencing experiment. qQCReport
uses functionality from the
ShortRead package to collect quality data, and visualizes the
results similarly as the FastQC quality control tool from
Simon Andrews (see References below). It is recommended to
create PDF reports (pdfFilename
argument), for which the
plot layouts have been optimised.
Some plots will only be generated if the necessary information is
available (e.g. base qualities in fastq sequence files).The currently available plot types are:
One approach to assess the quality of a sample is to compare its control plots to the ones from other samples and search for relative differences. Special quality measures are expected for certain types of experiments: A genomic re-sequencing sample with an overrepresentation of T bases may be suspicious, while such a nucleotide bias is normal for a directed bisulfite-sequencing sample.
Additional arguments can be passed to the internal functions that
generate the individual quality control plots using ...{}
:
lmat
:matrix(1:12, ncol=2)
) used
by an internal call to the layout
function to specify the
positioning of multiple plot panels on a device page. Individual panels
correspond to different samples.
breaks
:c(1:10)
) defining the bins used by
the Duplication level plot.
qProject
, qAlign
,
ShortRead
package
# copy example data to current working directory
file.copy(system.file(package="QuasR", "extdata"), ".", recursive=TRUE)
# create alignments
sampleFile <- "extdata/samples_chip_single.txt"
genomeFile <- "extdata/hg19sub.fa"
proj <- qAlign(sampleFile, genomeFile)
# create quality control report
qQCReport(proj, pdfFilename="qc_report.pdf")
Run the code above in your browser using DataLab