
Decode compact seq and qual columns in BamScale output
Source: R/bam_read.R
decode_seqqual_compact.RdConvenience wrapper for converting a compact bam_read() result back to
ordinary sequence and quality strings.
Arguments
- x
A
data.frame,S4Vectors::DataFrame, or list-like object containing compact BamScaleseqand/orqualcolumns.- seq_col
Name of the compact sequence column.
- qual_col
Name of the compact quality column.
- qwidth_col
Name of the read-width column used to decode compact sequence bytes.
Value
x with compact seq and/or qual columns replaced by decoded
character vectors. The input class is preserved.