CreateSynCatalogs: Generate synthetic spectra catalogs given signature profiles...

View source: R/CreateSynData.R

CreateSynCatalogsR Documentation

Generate synthetic spectra catalogs given signature profiles and synthetic exposures.

Description

Generate synthetic spectra catalogs given signature profiles and synthetic exposures.

Usage

CreateSynCatalogs(signatures, exposures, sample.id.suffix = NULL)

Arguments

signatures

The signature profiles.

exposures

The synthetic exposures.

sample.id.suffix

A string for adding a suffix to sample ID. For example, if sample.id.suffix is "abc", then SomeCancerType::s1.33 is changed to SomeCancerType::s1-abc.33. Actually, this just replaces the first "." in the sample id with "-" concatenated to sample.id.suffix. TODO(Steve): probably drop this

Value

A list of three elements that comprise the synthetic data:

  1. ground.truth.catalog: Spectra catalog for the software input.

  2. ground.truth.signatures: Signatures active in ground.truth.catalog.

  3. ground.truth.exposures: Exposures of ground.truth.signatures in ground.truth.catalog.


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