stitch_mutation_types: Given a set of substitutions and trinucleotides, merge into...

Description Usage Arguments Value

View source: R/get_mutation_types.R

Description

Given a set of substitutions and trinucleotides, merge into unique mutation types. For example, T>A mutation in CTG context will become C[T>A]G.

Usage

1
stitch_mutation_types(substitution, trinucleotide)

Arguments

substitution

Character vector of substitutions in the form T>A

trinucleotide

Character vector of trinucleotide contexts in the form CTG

Value

Character vector of mutation types in the form C[T>A]G


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.