Add and check SBS class in an annotated VCF with the corresponding SBS mutation matrix
AddAndCheckSBSClassInVCF(vcf, mat96, mat1536, mat192 = NULL, sample.id)
The original vcf
with three additional columns
SBS96.class
, SBS192.class
and SBS1536.class
added.
An in-memory VCF file annotated with sequence context and
transcript information by function AnnotateSBSVCF
. It must
*not* contain indels and must *not* contain DBS (double base
substitutions), or triplet base substitutions etc., even if encoded as
neighboring SBS.
The SBS96 mutation count matrix.
The SBS1536 mutation count matrix.
The SBS192 mutation count matrix.
Usually the sample id, but defaults to "count".