View source: R/CreateSynData.R
GenerateSyntheticExposures | R Documentation |
Create synthetic exposures based given parameters
GenerateSyntheticExposures( sig.params, num.samples = 10, name = "synthetic", sig.matrix = NULL, distribution = NULL, round.exposure = TRUE )
sig.params |
Parameters from
The rownames need to be the column names of a signature catalog. |
num.samples |
Number of samples to generate |
name |
Prefix for sample identifiers in the simulated dataset |
sig.matrix |
Signature matrix to construct synthetic tumors |
distribution |
Probability distribution used to generate synthetic
exposures due to active mutational signatures. Can be |
round.exposure |
Whether the exposures should be rounded to
an integer. Set as |
A matrix with the rows being each signature and the columns being generated samples. Each entry is the count of mutations due to one signature in one sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.