SplitPCAWGMatrixByTumorType: Extract tumor type from column names and return the input...

Description Usage Arguments Value Examples

View source: R/SplitPCAWGMatrixByTumorType.R

Description

Extract tumor type from column names and return the input matrix split by tumor type based on the PCAWG <tumor_type>::<sample_id> convention

Usage

1

Arguments

M

A numerical matrix or data frame or ICAMS catalog in which columns are samples (e.g. tumors) and rows are either mutational signatures (for exposures) or mutation types (for spectra), and each element is the number of mutations due to a given mutational signature or mutation type in a single sample. The column names must be of the the form <cancer.type>::<sample.ID>.

Value

Invisibly, the list of exposure matrices or ICAMS catalogs created by splitting matrix by the tumor type encoded in the column names.

Examples

1

steverozen/PCAWG7 documentation built on Feb. 2, 2022, 5:40 a.m.