View source: R/CreateRandomExposures.R
CreateNumSigsPerTumor | R Documentation |
num.exposures
signature counts from a normal distribution with mean
and sd
.Discard tumors with signature count = 0 or
signature count > total.num.sigs
.
CreateNumSigsPerTumor( num.exposures, mean.num.sigs.per.tumor, sd.num.sigs.per.tumor, total.num.sigs )
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. |
A numeric vector, each element of which the number of signatures in the corresponding tumor (which still remains to be created.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.