RunmutSignatures: Run mutSignatures extraction and attribution on a spectra...

View source: R/RunmutSignatures.R

RunmutSignaturesR Documentation

Run mutSignatures extraction and attribution on a spectra catalog file

Description

Run mutSignatures extraction and attribution on a spectra catalog file

Usage

RunmutSignatures(
  input.catalog,
  out.dir,
  CPU.cores = NULL,
  seedNumber = 12345,
  K.exact = NULL,
  nrun.exact = 1000,
  test.only = FALSE,
  overwrite = FALSE
)

Arguments

input.catalog

File containing input spectra catalog. Columns are samples (tumors), rows are mutation types.

out.dir

Directory that will be created for the output; abort if it already exits. Log files will be in paste0(out.dir, "/tmp").

CPU.cores

Number of CPUs to use in running decipherMutationalProcesses.

seedNumber

Specify the pseudo-random seed number used to run mutSignatures. Setting seed can make the attribution of mutSignatures repeatable. Default: 1.

K.exact

K.exact is the exact value for the number of signatures active in spectra (K). Specify K.exact if you know exactly how many signatures are active in the input.catalog, which is the ICAMS-formatted spectra file.

nrun.exact

number of NMF runs for extracting signatures and inferring exposures.

test.only

If TRUE, only analyze the first 10 columns read in from input.catalog. Default: FALSE

overwrite

If TRUE, overwrite existing output. Default: FALSE

Details

Creates several files in out.dir. These are: TODO(Steve): list the files

TODO(Wuyang)

Value

The inferred exposure of mutSignatures, invisibly.


WuyangFF95/SynSigRun documentation built on Oct. 7, 2022, 1:16 p.m.