File: mut_192_occurrences.Rd

package info (click to toggle)
r-bioc-mutationalpatterns 3.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,360 kB
  • sloc: sh: 8; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,007 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mut_192_occurrences.R
\name{mut_192_occurrences}
\alias{mut_192_occurrences}
\title{Count 192 trinucleotide mutation occurrences}
\usage{
mut_192_occurrences(type_context, strand, gr_sizes)
}
\arguments{
\item{type_context}{result from type_context function}

\item{strand}{factor with strand information for each
position, for example "U" for untranscribed, "T" for transcribed strand,
and "-" for unknown}

\item{gr_sizes}{A vector indicating the number of variants per GRanges}
}
\value{
Mutation matrix with 192 mutation occurrences and 96 trinucleotides
for two strands
}
\description{
@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.
}