CreateNumSigsPerTumor: Create 'num.exposures' signature counts from a normal...

View source: R/CreateRandomExposures.R

CreateNumSigsPerTumorR Documentation

Create num.exposures signature counts from a normal distribution with mean and sd.

Description

Discard tumors with signature count = 0 or signature count > total.num.sigs.

Usage

CreateNumSigsPerTumor(
  num.exposures,
  mean.num.sigs.per.tumor,
  sd.num.sigs.per.tumor,
  total.num.sigs
)

Arguments

num.exposures

Number of exposures to create.

mean.num.sigs.per.tumor

Mean of distribution to draw from.

total.num.sigs

Number of signatures in the "universe".

sd

Standard deviation of distribution to draw from.

Value

A numeric vector, each element of which the number of signatures in the corresponding tumor (which still remains to be created.)


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