Add and check DBS class in an annotated VCF with the corresponding DBS mutation matrix
AddAndCheckDBSClassInVCF(vcf, mat78, mat136, mat144 = NULL, sample.id)
The original vcf
with three additional columns
DBS78.class
, DBS136.class
and DBS144.class
added.
An in-memory VCF file annotated with sequence context and
transcript information by function AnnotateDBSVCF
. It must
*not* contain indels and must *not* contain SBS (single base
substitutions), or triplet base substitutions etc.
The DBS78 mutation count matrix.
The DBS136 mutation count matrix.
The DBS144 mutation count matrix.
Usually the sample id, but defaults to "count".