Contains methods for reading and displaying contents of the
multiqc_data.json
file output from MultiQC.
Super class
dracarys::File
-> MultiqcFile
Methods
Method read()
Reads the multiqc_data.json
file output from MultiQC.
Method write()
Writes a tidy version of the multiqc_data.json
file output from MultiQC.
Examples
if (FALSE) { # \dontrun{
x <- "/path/to/multiqc_data.json"
mqc <- MultiqcFile$new(x)
mqc_parsed <- mqc$read() # or read(mqc)
outdir <- "nogit"
mqc$write(mqc_parsed, out_dir = outdir, prefix = "SBJ02862_PRJ222112", out_format = "tsv")
mqc_plots_parsed <- mqc$read(plot = TRUE, plot_names = "everything")
mqc$write(mqc_plots_parsed, out_dir = tempdir(), prefix = "sample705", out_format = "rds")
} # }