sig_convert {sigminer} | R Documentation |
Convert Signatures between different Genomic Distribution of Components
Description
Converts signatures between two representations relative to different sets of mutational opportunities. Currently, only SBS signature is supported.
Usage
sig_convert(sig, from = "human-genome", to = "human-exome")
Arguments
sig |
a |
from |
either one of "human-genome" and "human-exome" or an opportunity matrix
(repeated |
to |
same as |
Details
The default opportunity matrix for "human-genome" and "human-exome" comes from COSMIC signature database v2 and v3.
Value
a matrix
.
References
convert_signatures
function from sigfit package.
Examples
# Load SBS signature
load(system.file("extdata", "toy_mutational_signature.RData",
package = "sigminer", mustWork = TRUE
))
# Exome-relative to Genome-relative
sig_converted <- sig_convert(sig2,
from = "human-exome",
to = "human-genome"
)
sig_converted
show_sig_profile(sig2, style = "cosmic")
show_sig_profile(sig_converted, style = "cosmic")
[Package sigminer version 2.3.1 Index]