View source: R/mut_192_occurrences.R
mut_192_occurrences | R Documentation |
@details This function is called by mut_matrix_stranded. The 192 trinucleotide context is the 96 trinucleotide context combined with the strands. This function calculates the 192 trinucleotide context for all variants. and then splits these per GRanges (samples). It then calculates how often each 192 trinucleotide context occurs.
mut_192_occurrences(type_context, strand, gr_sizes)
type_context |
result from type_context function |
strand |
factor with strand information for each position, for example "U" for untranscribed, "T" for transcribed strand, and "-" for unknown |
gr_sizes |
A vector indicating the number of variants per GRanges |
Mutation matrix with 192 mutation occurrences and 96 trinucleotides for two strands
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.