decomposeQP {SigsPack} | R Documentation |
This function is taken from the package 'SignatureEstimation' by Xiaoqing Huang and Damian Wojtowicz (source: https://www.ncbi.nlm.nih.gov/CBBresearch/Przytycka/index.cgi#signatureestimation) The function allows to get the optimal solution by using dual method to solve the quadratic programming problem.
decomposeQP(m, P, ...)
m |
observed tumor profile vector for a single patient/sample, 96 by 1. m is normalized. |
P |
signature profile matrix, 96 by N (N = # signatures, COSMIC: N=30) |
... |
control parameter that can be passed into the solve.QP function |
matrix containing estimated signature exposures
data(cosmicSigs) mut_cat<- (create_mut_catalogues(1,500)[['catalogues']])/500 decomposeQP(mut_cat, cosmicSigs)