Description Usage Arguments Value Examples
View source: R/sigfit_utility.R
build_catalogues
generates a set of mutational catalogues from a table containing
the base change and trinucleotide context of each single-nucleotide variant in every sample.
1 | build_catalogues(variants)
|
variants |
Character matrix or data frame, with one row per single-nucleotide variant and four/five columns:
|
An integer matrix of mutation counts, where each row corresponds to a sample and each column corresponds to one of the 96 (or 192) mutation types.
1 2 3 4 5 6 7 | # Load example mutation data
data("variants_21breast")
head(variants_21breast)
# Build catalogues
counts <- build_catalogues(variants_21breast)
counts
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.