TsoAlignCollapseFusionCallerMetricsFile R6 Class
Source:R/tso_acfc.R
TsoAlignCollapseFusionCallerMetricsFile.Rd
Contains methods for reading and displaying contents of the
AlignCollapseFusionCaller_metrics.json.gz
file output from TSO.
Super class
dracarys::File
-> TsoAlignCollapseFusionCallerMetricsFile
Methods
Method read()
Reads the AlignCollapseFusionCaller_metrics.json.gz
file output from TSO.
Method write()
Writes a tidy version of the AlignCollapseFusionCaller_metrics.json.gz
file
output from TSO.
Histo is the majority from UmiStatistics section, write out separately. Histo of num supporting fragments: Num of families with 0/1/2/3... raw reads. Histo of unique UMIs per fragment pos: Num of pos with 0/1/2/3... UMI seqs.
Method plot()
Generates the UmiStatistics Histogram plots from the
AlignCollapseFusionCaller_metrics.json.gz
file output from TSO.
Histo is the majority from UmiStatistics section, deal with it separately.
Histo of num supporting fragments: Num of families with 0/1/2/3... raw reads.
Histo of unique UMIs per fragment pos: Num of pos with 0/1/2/3... UMI seqs.
Examples
x <- system.file("extdata/tso/sample705.AlignCollapseFusionCaller_metrics.json.gz",
package = "dracarys"
)
m <- TsoAlignCollapseFusionCallerMetricsFile$new(x)
d_parsed <- m$read() # or read(m)
m$write(d_parsed, out_dir = tempdir(), prefix = "sample705", out_format = c("tsv", "rds"))