qcReport | R Documentation |
Generate a report summarizing the main aspects of an alevin/alevin-fry quantification run. The report generation assumes that alevin/alevin-fry has been run with the –dumpFeatures flag to generate the necessary output files.
alevinQCReport(
baseDir,
sampleId,
outputFile,
outputDir = "./",
outputFormat = NULL,
showCode = FALSE,
forceOverwrite = FALSE,
knitrProgress = FALSE,
quiet = FALSE,
ignorePandoc = FALSE,
customCBList = list(),
...
)
simpleafQCReport(
simpleafQuantDir,
sampleId,
outputFile,
outputDir = "./",
outputFormat = NULL,
showCode = FALSE,
forceOverwrite = FALSE,
knitrProgress = FALSE,
quiet = FALSE,
ignorePandoc = FALSE,
customCBList = list(),
...
)
alevinFryQCReport(
mapDir,
permitDir,
quantDir,
sampleId,
outputFile,
outputDir = "./",
outputFormat = NULL,
showCode = FALSE,
forceOverwrite = FALSE,
knitrProgress = FALSE,
quiet = FALSE,
ignorePandoc = FALSE,
customCBList = list(),
...
)
baseDir |
(Only used for alevin output) Path to the output directory
from the alevin run (should be the directory containing the
|
sampleId |
Sample ID, will be used to set the title for the report. |
outputFile |
File name of the output report. The file name extension
must be either |
outputDir |
Path to the output directory where the report will be generated. |
outputFormat |
The format of the output report. Either
|
showCode |
Logical, whether to display the R code in the report. |
forceOverwrite |
Logical, whether to force overwrite an existing report with the same name in the output directory. |
knitrProgress |
Logical, whether to display the progress of |
quiet |
Logical, whether to show progress messages. |
ignorePandoc |
Logical, determines what to do if |
customCBList |
Named list with custom set(s) of barcodes to provide summary statistics/plots for, in addition to the whitelists generated by alevin. |
... |
Other arguments that will be passed to |
simpleafQuantDir |
(Only used for simpleaf output) Path to the output
directory from the simpleaf run (should be the directory containing the
|
mapDir |
(Only used for alevin-fry output) Path to the output directory
from the salmon alevin run (should be the directory containing the
|
permitDir |
(Only used for alevin-fry output) Path to the output
directory from the permit list generation step (should be
the directory containing the |
quantDir |
(Only used for alevin-fry output) Path to the output
directory from the alevin-fry quantification step (should be
the directory containing the |
When the function is called, a .Rmd template file will be copied
into the output directory, and rmarkdown::render
will be called to
generate the final report. If there is already a .Rmd file with the same
name in the output directory, the function will raise an error and stop,
to avoid overwriting the existing file. The reason for this behaviour is
that the copied template in the output directory will be deleted once
the report is generated.
Generates a summary report in the outputDir
directory, and
returns (invisibly) the name of the generated report.
Charlotte Soneson
alevinQCReport(
baseDir = system.file("extdata/alevin_example_v0.14",
package = "alevinQC"),
sampleId = "example", outputFile = "alevinReport.html",
outputDir = tempdir(), forceOverwrite = TRUE)
alevinFryQCReport(
mapDir = system.file("extdata/alevinfry_example_v0.5.0/map",
package = "alevinQC"),
permitDir = system.file("extdata/alevinfry_example_v0.5.0/permit",
package = "alevinQC"),
quantDir = system.file("extdata/alevinfry_example_v0.5.0/quant",
package = "alevinQC"),
sampleId = "example", outputFile = "alevinFryReport.html",
outputDir = tempdir(), forceOverwrite = TRUE)
simpleafQCReport(
simpleafQuantDir = system.file("extdata/alevinfry_example_piscem_v0.6.0",
package = "alevinQC"),
sampleId = "example", outputFile = "simpleafReport.html",
outputDir = tempdir(), forceOverwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.