CreateAndWriteCatalog: Create and write a mutational spectra catalog

View source: R/CreateSynData.R

CreateAndWriteCatalogR Documentation

Create and write a mutational spectra catalog

Description

Create and write a mutational spectra catalog

Usage

CreateAndWriteCatalog(
  sigs,
  exp,
  dir = NULL,
  write.cat.fn = ICAMS::WriteCatalog,
  extra.file.suffix = "",
  overwrite = FALSE,
  my.dir = NULL
)

Arguments

sigs

Signatures to use.

exp

(Synthetic) exposures.

dir

Deprecated, maintained only to avoid breaking old code. A subdirectory based on the deprecated global variable OutDir.

write.cat.fn

Function to write catalogs or spectra to files.

extra.file.suffix

Extra string to put before ".csv".

overwrite

If TRUE, overwrite existing directory; useful for debugging / testing.

my.dir

The directory in which to write the catalog and several additional files.

Details

Create a file with the catalog syn.data.csv and writes sigs to input.sigs.csv.

Value

Invisibly, the generated catalog.


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