runAssignment: panConusig::runAssignment

View source: R/assignSegsToSigs.R

runAssignmentR Documentation

panConusig::runAssignment

Description

Takes copy number profiles, signature assignments per sample, and signature definitions, to assign signatures at a segment level.

Usage

runAssignment(data, # matrix of copy number profiles with columns sample, chr, startpos, endpos, nMajor, nMinor
                         sigs, # matrix of 48xn where n is the number of signatures
                         exposures, # matrix of n*m where n is the number of signatures, and m is the number of samples
                         outDir = NULL)

Arguments

data

Matrix of copy number profiles with columns sample, chr, startpos, endpos, nMajor, nMinor.

sigs

Matrix of 48xn where n is the number of signatures

exposures

Matrix of n*m where n is the number of signatures, and m is the number of samples

outDir

Directory to save results to.

Value

Matrix that includes combines data with new columns: the copy number class for each segment in data, and the copy number signature assignment for each segment in data.


UCL-Research-Department-of-Pathology/panConusig documentation built on March 25, 2022, 12:18 a.m.