present.sigs: Decide which signatures will be present in the catalogs of...

View source: R/CreateSynData.R

present.sigsR Documentation

Decide which signatures will be present in the catalogs of synthetic tumors.

Description

Decide which signatures will be present in the catalogs of synthetic tumors.

Usage

present.sigs(num.tumors, prev.present)

Arguments

num.tumors

Number of tumors to generate

prev.present

Vector of prevalences, each the prevalence of 1 mutational signature. The names are the names of the signatures.

Value

A matrix with one row per signature and one column per tumor, with 1 in a cell indicated the presence of a signature and 0 indicating absence.


steverozen/SynSigGen documentation built on April 1, 2022, 8:54 p.m.