quantifySignatures: Quantifying signatures

View source: R/cnsignature_functions.R

quantifySignaturesR Documentation

Quantifying signatures

Description

This function quantify copy-number signatures. Approach developed by Geoff Macintyre et al. 2018

Usage

quantifySignatures(sample_by_component, component_by_signature = NULL)

Arguments

sample_by_component

matrix with components per sample

component_by_signature

matrix with components per signature

Value

A matrix with signature exposures per sample

Examples

## Not run: 
profiles<-getProfiles(segcn=cells_segcn,
    samples=unique(cells_segcn$sample)[1:4])
CN_features<-extractCopynumberFeatures(profiles)
sample_by_component<-generateSampleByComponentMatrix(CN_features,
    all_components=component_parameters)
signature_quantification <- quantifySignatures(sample_by_component)

## End(Not run)

macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.