Description Usage Arguments Value Examples
View source: R/SignatureFitLib.R
Given a catalogue of samples and an exposures table, compute the relative amount of each signature in each sample and the unassigned mutations. Also cluster the samples with hierarchical clustering with average linkage and order the samples according to the clustering. Optionally, plot to file.
1 | exposureDistributionBarplot(fileout = NULL, catalogue, exposures)
|
fileout |
if specified, generate a plot, otherwise no plot is generated |
catalogue |
original catalogue, channels as rows and samples as columns |
exposures |
exposures/activities of signatures in each sample. Signatures as rows, samples as columns |
list with to objects: the matrix of the distribution of the signatures in the samples and the hierachical clustering object
1 2 3 4 5 6 7 | res <- SignatureFit_withBootstrap(cat = catalogue,
signature_data_matrix = cosmic30,
nboot = 5,
threshold_percent = 0.1,
threshold_p.value = 0.1)
distribution_object <- exposureDistributionBarplot(catalogue=catalogue,
exposures=res$E_median_filtered)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.