Description Usage Arguments Details Value See Also Examples
Decompose a matrix of 96 substitution classes into n
signatures.
1 2 3 |
mat |
Input matrix of diemnsion nx96 generated by |
n |
decompose matrix into n signatures. Default NULL. Tries to predict best value for |
nrun |
number of runs to perform on user specified rank. |
nTry |
tries upto this number of signatures before choosing best |
nrun_Try |
number of runs to perform when obtain a best-fit rank for NMF. |
plotBestFitRes |
plots consensus heatmap for range of values tried. Default FALSE |
parallel |
calls to .opt argument of |
pConstant |
A small positive value to add to the matrix. Use it ONLY if the functions throws an |
This function decomposes a non-negative matrix into n signatures. Extracted signatures are compared against 30 experimentally validated signatures by calculating cosine similarity. See http://cancer.sanger.ac.uk/cosmic/signatures for details.
a list with decomposed scaled signatures, signature contributions in each sample and a cosine similarity table against validated signatures.
Other SNV analysis functions: snv_plotSignatures
,
snv_readprofile
,
snv_signatureEnrichment
,
snv_trinucleotideMatrix
1 2 3 4 5 6 | ## Not run:
laml.tnm <- snv_trinucleotideMatrix(maf = laml, ref_genome = 'BSgenome.Hsapiens.UCSC.hg19',
prefix = 'chr', add = TRUE, useSyn = TRUE)
laml.sign <- snv_extractSignatures(mat = laml.tnm, plotBestFitRes = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.