tabToDNVcatalogue: TAB to DNV catalogue

View source: R/DinucleotideVariantsLib.R

tabToDNVcatalogueR Documentation

TAB to DNV catalogue

Description

Convert a data frame containing SNVs and DNVs to a DNV catalogue. The data frame should containt the SNVs and/or DNVs of a single sample. Two SNVs that are next to each other will be combined into a DNV. The data frame should have the following columns: chr, position, REF, ALT.

Usage

tabToDNVcatalogue(muttable)

Arguments

muttable

data frame with the mutations, formatted with the following column names: chr, position, REF, ALT.

Value

returns the DNV catalogue for the given sample and mutation list

Examples

muttable <- readTable("mutations.tsv")
res <- tabToSNVcatalogue(muttable)

Nik-Zainal-Group/signature.tools.lib documentation built on April 13, 2025, 5:50 p.m.