Create1CatRandomExpRandomSigs: Create a catalog of "random" synthetic spectra for 96-channel...

View source: R/CreateRandomExpRandomSigs.R

Create1CatRandomExpRandomSigsR Documentation

Create a catalog of "random" synthetic spectra for 96-channel mutation types.

Description

Create a catalog of "random" synthetic spectra for 96-channel mutation types.

Usage

Create1CatRandomExpRandomSigs(
  num.syn.tumors,
  total.num.sigs,
  mut.mean,
  mut.sd,
  mean.num.sigs.per.tumor,
  sd.num.sigs.per.tumor,
  dir.name,
  overwrite = FALSE,
  verbose = TRUE
)

Arguments

num.syn.tumors

Total number of synthetic tumors to create.

total.num.sigs

Total number of signatures in the universe.

mut.mean

Mean of the log10 of the number of mutations due to each signature.

mut.sd

Standard deviation of the log10 of the number of mutations due to each signature.

mean.num.sigs.per.tumor

Mean number of signatures contributing to each tumor.

sd.num.sigs.per.tumor

Standard deviation the number of signatures in each tumor.

dir.name

A string indicating the name of the 96-channel subdirectory; probably one of "sa.sa.COMPOSITE" or "sp.sa.COMPOSITE".

overwrite

If TRUE overwrite existing directories / files.

sig.name.prefix

String to put in front of an integer (as string) to form an identifier for a synthetic signature.

sample.name.prefix

String to put in front of an integer (as string) to form an identifier for a synthetic sample (tumor).

COMPOSITE.features

Character vector containing rownames for a COMPOSITE signature or catalog.


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