Description Usage Arguments Examples
Function to calculate the number and proportion of each SBS, DBS or indel signature in each sample, in addition to plotting each sample's mutational profile and its signature contribution.
1 2 3 4 5 6 7 8 9 |
vcf |
The VCF used in the current analysis. Only required when Type == "SBS" so that the strand bias of SBS mutations can be plotted. |
input_data |
Palimpsest input matrix of mutation proportions |
threshold |
Signatures contributing less then this percentage of total mutations within a sample will be discarded (e.g. if set to 6 and signature X contributes 5 per cent of a sample's mutations, signature X will not be reported as present in this sample). |
input_signatures |
Matrix of the mutational signatures to fit within the provided cohort of samples. |
sig_cols |
Character vector of R-compatible colours representing each signature to be used graphical outputs. Each signature in input_signatures must have named colour in this vector for grpahical outputs to work. Use the "signature_colour_generator" function to generate colours for new signatures. |
plot |
Logical indicating whether graphical outputs should be generated (defaults to TRUE). |
resdir |
Results directory. |
1 | SVsignatures_exp <- deconvolution_fit_SV(vcf = SV.vcf,input_data = SV_input$mut_props, input_signatures = SV_denovo_sigs,sig_cols = SV_cols, resdir = resdir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.