mut_96_occurrences: Count 96 trinucleotide mutation occurrences

View source: R/mut_96_occurrences.R

mut_96_occurrencesR Documentation

Count 96 trinucleotide mutation occurrences

Description

@details This function is called by mut_matrix. It calculates the 96 trinucleotide context for all variants and then splits these per GRanges (samples). It then calculates how often each 96 trinucleotide context occurs.

Usage

mut_96_occurrences(type_context, gr_sizes)

Arguments

type_context

result from type_context function

gr_sizes

A vector indicating the number of variants per GRanges

Value

Mutation matrix with 96 trinucleotide mutation occurrences


UMCUGenetics/MutationalPatterns documentation built on Nov. 24, 2022, 4:31 a.m.