PancAdenoCA1000: Create 1000 synthetic pancreatic adenocarcinoma spectra.

View source: R/CreateFromReal_Nat.R

PancAdenoCA1000R Documentation

Create 1000 synthetic pancreatic adenocarcinoma spectra.

Description

This function generates synthetic tumor spectra with mutational signature prevalence and mutation load similar to pancreatic adenocarcinoma in PCAWG cohort.

Usage

PancAdenoCA1000(
  seed = 191907,
  regress.dir = "data-raw/long.test.regression.data/syn.pancreas/",
  num.syn.tumors = 1000,
  top.level.dir = "../Pan-AdenoCA",
  unlink = FALSE
)

Arguments

seed

A random seed to use.

regress.dir

If not NULL, compare the result to the contents of this directory with a diff.

num.syn.tumors

Generate this number of synthetic tumors.

top.level.dir

The directory in which to put the output; will be created if necessary.

unlink

If TRUE and !is.null(regress.dir), then unlink the result directory if there are no differences.

Details

This function replaces data-raw/Create.pancreas.Rmd in GitHub repository steverozen/SynSig. With default arguments, this function generates the same results as data-raw/Create.pancreas.Rmd.

Data set generated by this function can be found at Synapse with Synapse ID: syn18500212.


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