This generic function summarizes results from evaluation of
qa into a report. Available report formats vary
depending on the data analysed.
report(x, ..., dest=tempfile(), type="html")
report_html(x, dest, type, ...)qa, usually derived from
class .QA All methods with type="html" support the argument
cssFile, which is a named, length 1 character vector. The
value is a path to a CSS file to be incorporated into the report
(e.g., system.file("template", "QA.css",
package="ShortRead")). The name of cssFile is the name of
the CSS file as seen by the html report (e.g., QA.css).
See specific methods for details on additional ...
arguments.
type="html" this is a directory; for (deprecated)
type="pdf" this is a file.x; usually this is
html.report_html is meant for use by package authors wishing to add
methods for creating HTML reports; users should always invoke
report.
The following methods are defined:
x="BowtieQA", ..., dest=tempfile(), type="html"BowtieQA.
x="FastqQA", ..., dest=tempfile(), type="html"FastqQA.
x="MAQMapQA", ..., dest=tempfile(), type="html"MAQMapQA.
x="SolexaExportQA", ..., dest=tempfile(), type="html"SolexaExportQA.
x="SolexaExportQA", ..., dest=tempfile(), type="pdf"SolexaExportQA.
x="SolexaPath", ..., dest=tempfile(), type="html"_export.txt
files in the analysisPath directory of x to create a
SolexaExportQA instance.
x="SolexaPath", ..., dest=tempfile(), type="pdf"_export.txt files in the analysisPath directory of
x to create a SolexaExportQA instance.
x="ANY", ..., dest=tempfile(), type="ANY"
SolexaExportQA
showMethods("report")
## default CSS file
cssFile <- c(QA.css=system.file("template", "QA.css",
package="ShortRead"))
noquote(readLines(cssFile))
Run the code above in your browser using DataLab