Learn R Programming

mutSignatures (version 1.2)

do.nmf: Perform Non-negative Matrix Factorization

Description

Perform Non-negative Matrix Factorization

Usage

do.nmf(v, r, params, verbose = TRUE)

Arguments

v

numeric matrix of Mutation Type Counts

r

numeric, number of signatures to extract

params

object (list) including all paramaters for running the analysis

verbose

logic, TRUE for printing information abouut the progress of the analysis

Value

list including two elements.

w

extracted signatures

h

contribution of each signature in all the samples of the input mut count matrix

References

More info at: http://www.biotechworld.it/bioinf/2017/01/22/mutsignatures/

Examples

Run this code
# NOT RUN {
tmp <- getTestRunArgs(3)
do.nmf(v = tmp$v, r = tmp$r, params = tmp$params)
# }

Run the code above in your browser using DataLab