Contains methods for reading and displaying contents of the
TargetRegionCoverage.json.gz
file output from TSO.
Super class
dracarys::File
-> TsoTargetRegionCoverageFile
Methods
Method read()
Reads the TargetRegionCoverage.json.gz
file output from TSO.
Method write()
Writes a tidy version of the TargetRegionCoverage.json.gz
file output
from TSO.
Method plot()
Plots the TargetRegionCoverage.json.gz
file.
Examples
x <- system.file("extdata/tso/sample705.TargetRegionCoverage.json.gz", package = "dracarys")
trc <- TsoTargetRegionCoverageFile$new(x)
d_parsed <- trc$read() # or read(trc)
trc$plot(d_parsed, 0) # or plot(trc, d_parsed, 90)
trc$write(d_parsed, out_dir = tempdir(), prefix = "sample705", out_format = "tsv")