ExposureNums2Exposures: Select 'num.exp' signatures from the members of 'sig.names'...

View source: R/CreateRandomExposures.R

ExposureNums2ExposuresR Documentation

Select num.exp signatures from the members of sig.names and create one column of an exposure matrix (as a vector).

Description

Select num.exp signatures from the members of sig.names and create one column of an exposure matrix (as a vector).

Usage

ExposureNums2Exposures(
  target.num.exp,
  all.sig.names,
  target.sig.means,
  target.sig.sds
)

Arguments

target.num.exp

Number of signatures to which sample "was" exposed.

all.sig.names

Names of all possible signatures.

target.sig.means

Target means for creating mutation counts.

target.sig.sds

Target standard deviations for creating mutation counts.

Value

A subset of sig.names of size num.exp.


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