sig_convert | R Documentation |
Converts signatures between two representations relative to different sets of mutational opportunities. Currently, only SBS signature is supported.
sig_convert(sig, from = "human-genome", to = "human-exome")
sig |
a |
from |
either one of "human-genome" and "human-exome" or an opportunity matrix
(repeated |
to |
same as |
The default opportunity matrix for "human-genome" and "human-exome" comes from COSMIC signature database v2 and v3.
a matrix
.
convert_signatures
function from sigfit package.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.