extract_signatures: Extract mutational signatures from 96 mutation matrix using...

Description Usage Arguments Value See Also Examples

Description

Decomposes trinucleotide count matrix into signatures and contribution of those signatures to the spectra of the samples/vcf files.

Usage

1

Arguments

mut_matrix

96 mutation count matrix

rank

Number of signatures to extract

nrun

Number of iterations, default = 200

Value

Named list of mutation matrix, signatures and signature contribution

See Also

mut_matrix

Examples

1
2
3
4
5
6
## See the 'mut_matrix()' example for how we obtained the mutation matrix:
mut_mat <- readRDS(system.file("states/mut_mat_data.rds",
                    package="MutationalPatterns"))

## This function is computational intensive.
# nmf_res <- extract_signatures(mut_mat, rank = 2)


Search within the MutationalPatterns package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.