View source: R/assignSegsToSigs.R
runAssignment | R Documentation |
Takes copy number profiles, signature assignments per sample, and signature definitions, to assign signatures at a segment level.
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)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.