Contains methods for reading contents of
the time_metrics.csv
file output from DRAGEN, which contains
a breakdown of the run duration for each DRAGEN process.
Super class
dracarys::File
-> TimeMetricsFile
Methods
Method read()
Reads the time_metrics.csv
file.
Method write()
Writes a tidy version of the time_metrics.csv
file output
from DRAGEN.
Examples
x <- system.file("extdata/wgs/SEQC-II.time_metrics.csv.gz", package = "dracarys")
tm <- TimeMetricsFile$new(x)
d <- tm$read() # or read(tm)
tm$write(d, out_dir = tempdir(), prefix = "seqc_time", out_format = "tsv")