decomposeQP: decomposeQP function

Description Usage Arguments Value Examples

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

1

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

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

SigsPack documentation built on Nov. 8, 2020, 6:57 p.m.