mut_96_UI | R Documentation |
@details This function is called by mut_matrix_UI. It is a modification of the mut_96_occurrences() function from the MutationalPatterns package. It calculates the context for all variants and then splits these per GRanges (samples). It then calculates how often each context occurs. This function is compatible with assymetric context and UI value
mut_96_UI(type_context, gr_sizes, UI = FALSE)
type_context |
result from type_context function |
gr_sizes |
A vector indicating the number of variants per GRanges |
UI |
if TRUE, it will calculated the mean UI instead of counting the mutations |
Mutation matrix with 96 trinucleotide mutation occurrences
https://genomemedicine.biomedcentral.com/articles/10.1186/s13073-018-0539-0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.