Contribution of Signature in each sample
1
0
Entering edit mode
ksivapra • 0
@ksivapra-10126
Last seen 7.5 years ago

Hi

I am basing my question on the data from the package.

plotSamples(sigs_nmf) will plot the contribution of each signature in every sample. The contribution is denoted in terms of RSS value. Is it possible to get the contribution of every/specific signatures in all sample in  terms of percentage?

I mean : a graph or a matrix that holds sample with signatures and the overall percentage of it in that sample. 

Thanks

 

mutational signature somaticSignatures • 1.1k views
ADD COMMENT
1
Entering edit mode
Julian Gehring ★ 1.3k
@julian-gehring-5818
Last seen 4.9 years ago

You can get the plot with contributions expressed in a relative manner, i.e. percents, with

plotSamples(sigs_nmf, normalize = TRUE, percent = TRUE)

The details can be found on the help page of the function: ?plotSamples

The matrix with the contributions for samples and signatures can be obtained with samples(sigs_nmf). Please note that these values are not normalised, but this can quickly be done manually.

ADD COMMENT

Login before adding your answer.

Traffic: 555 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6