human_trinuc_freqs: Retrieve human trinucleotide frequencies

Description Usage Arguments Value

View source: R/sigfit_utility.R

Description

human_trinuc_freqs returns the reference human genome or exome trinucleotide frequencies.

Usage

1
human_trinuc_freqs(type = "human-genome", strand = FALSE)

Arguments

type

Character; admits values "genome" (default) or "exome".

strand

Logical; if TRUE, transcriptional strand-wise representations of catalogues and signatures will be used (default is FALSE).

Value

A numeric vector containing 96 frequency values (one per trinucleotide mutation type), if strand=FALSE, or 192 frequency values (one per mutation and strand type), if strand=TRUE. In the latter case, the trinucleotide frequencies are assumed to be equally distributed between the two strands.


kgori/sigfit documentation built on Feb. 3, 2022, 12:04 p.m.