add_DBS_cats_ToVCF: add_DBS_cats_ToVCF

View source: R/annotate_VCF_functions.R

add_DBS_cats_ToVCFR Documentation

add_DBS_cats_ToVCF

Description

Adds DBS mutation categories to a VCF containing SNVs. N.B. The VCF must be ordered by sample, CHROM and position for this function to work.

Usage

add_DBS_cats_ToVCF(vcf = NULL, DBS_mutations_only = NA)

Arguments

DBS_mutations_only

Logical, TRUE if all lines in input VCF correspond to double base substitutions, FALSE if it contains other SNVs and/or Indels.

input

Input VCF to which DBS mutation categories are to be added.

Examples

vcf <- add_DBS_cats_ToVCF(input = vcf, DBS_mutations_only = FALSE)

FunGeST/Palimpsest documentation built on June 2, 2024, 4:21 a.m.