View source: R/CreateSynData.R
GenerateSynExposureOneSample | R Documentation |
Using parameters given to generate exposures for synthetic tumors
GenerateSynExposureOneSample( tumor, sig.interest, burden.per.sig, sd.per.sig, sig.matrix = NULL, distribution = NULL, sig.params = NULL, round.exposure = TRUE )
tumor |
Signature presence matrix or exposure matrix for a tumor. It has only one row, and K (# of signatures) columns. Value in each column is the presence flag for a mutational signature: the value can be non-zero(signature is present) or 0(absent). The name of each column should be the name of a signature. |
sig.interest |
Names of mutational signatures you want to use to generate exposures. It can be all, or part of signatures in colnames(tumor). |
burden.per.sig |
Mean mutation burden a log10 of the counts of mutations per megabase. It has one row, and K columns. Each column name refers to a mutational signature. |
sd.per.sig |
standard deviation of mutation burden. It has one row, and K columns. Each column name refers to a mutational signature. |
sig.matrix |
Signature matrix to construct synthetic tumors. |
distribution |
Probability distribution used to generate synthetic
exposures due to active mutational signatures. Can be |
sig.params |
Parameters from
The rownames need to be the column names of a signature catalog. |
round.exposure |
Whether the exposures should be rounded to
an integer. Set as |
Determine the intensity of each mutational signature in a tumor, returning the number of mutations using the mean mutation burden per signature and the std dev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.