decomposeQP {SigsPack}R Documentation

decomposeQP function

Description

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.

Usage

decomposeQP(m, P, ...)

Arguments

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

Value

matrix containing estimated signature exposures

Examples

data(cosmicSigs)
mut_cat<- (create_mut_catalogues(1,500)[['catalogues']])/500
decomposeQP(mut_cat, cosmicSigs)

[Package SigsPack version 1.7.0 Index]