tr_qc_plots | R Documentation |
Creates four ggplot2 figures from MultiQC results, and returns the data along with the plot objects. The plots are for FastQC (read counts and Phred scores), STAR, and HTSeq. See Details for more information.
tr_qc_plots(directory, font_size = 18, threshold_line = 1e+07, limits = NULL)
directory |
Folder containing all the data files generated by MultiQC, e.g. "multiqc_data/" |
font_size |
Base font size (defaults to 18) |
threshold_line |
Provide a number to draw a red dashed line at the indicated number of reads for FastQC read, STAR, and HTSeq plots. Defaults to 10e6; set to NULL to disable. |
limits |
Override the upper limit of FastQC read, STAR, and HTSeq plots. Supply a single number to give all three plots the same limit, or a vector of three values to modify each individually. Defaults to NULL, which sets automatic limits. |
For the Phred scores, one must open the MultiQC HTML report, and export the data for "fastqc_per_base_sequence_quality_plot" as a tab- delimited file (TSV), placing it inside the same directory as the rest.
A list with elements "plot" containing the ggplot
objects, and
"data" containing all the underlying data
https://www.github.com/travis-m-blimkie/tRavis
if (FALSE) tr_qc_plots("multiqc_data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.