GenerateSynFromReal: Generate synthetic exposures from real exposures.

View source: R/CreateSynData.R

GenerateSynFromRealR Documentation

Generate synthetic exposures from real exposures.

Description

Checkpoints the parameters and the synthetic exposures to files. It also checks that the parameters inferred from the synthetic data approximate those inferred from real.exp.

Usage

GenerateSynFromReal(
  real.exp,
  num.syn.tumors,
  file.prefix,
  sample.id.prefix,
  top.level.dir = NULL
)

Arguments

real.exp

The actual (real) exposures upon which to base the parameters and synthetic exposures.

num.syn.tumors

Generate this number of synthetic tumors.

file.prefix

Prepend this to output filenames to indicate the organization of the data.

sample.id.prefix

Prefix for sample identifiers for the synthetic samples.

top.level.dir

Directory in which to create several files. This directory must already exist.

Value

A list with elements:

  1. parms The parameters inferred from real.exp.

  2. syn.exp The synthetic exposures generated from parms.


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