Contains methods for reading contents of
the ploidy_estimation_metrics.csv
file output from DRAGEN.
Super class
dracarys::File
-> PloidyEstimationMetricsFile
Methods
Method read()
Reads the ploidy_estimation_metrics.csv
file output from DRAGEN.
Method write()
Writes a tidy version of the ploidy_estimation_metrics.csv
file output
from DRAGEN.
Examples
x <- system.file("extdata/wgs/SEQC-II.ploidy_estimation_metrics.csv.gz", package = "dracarys")
pem <- PloidyEstimationMetricsFile$new(x)
d <- pem$read() # or read(pem)
pem$write(d, out_dir = tempdir(), prefix = "seqc_ploidy", out_format = "tsv")