powered by
Perform Non-negative Matrix Factorization.
alexaNMF(v, r, params)
numeric matrix of Mutation Type Counts
numeric, number of signatures to extract
list including all paramaters for running the analysis
list including all paramaters for running the analysis:
W extracted signatures
H contribution of each signature in all the samples of the input mut count matrix
This is one of the core functions included in the original mutSignatures R library, and in the WTSI MATLAB framework. This is an internal function.
More information and examples about mutational signature analysis can be found here:
GitHub Repo: https://github.com/dami82/mutSignatures/
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6
WTSI framework: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3588146/
# NOT RUN { x <- mutSignatures:::getTestRunArgs("alexaNMF") y <- mutSignatures:::alexaNMF(v = x$v, r = x$r, params = x$params) y$w[1:5, ] # }
Run the code above in your browser using DataLab