View source: R/CreateSynSBS1SB5Correlated.R
GenSBS1SBS5Exposure | R Documentation |
GenSBS1SBS5ExposureOneTumor
:
A function to generate exposure of two correlated signatures
(Example: SBS1 and SBS5) for sample.number
(e.g. 500) synthetic tumors.
NOTE: pearson.r.2.lower.thres
and pearson.r2.higher.thres
are used to constraint the Pearson's R^2 of mutation burdens of two signatures
in multiple tumors.Generate correlated exposures for multiple tumors
Wrapper function around GenSBS1SBS5ExposureOneTumor
:
A function to generate exposure of two correlated signatures
(Example: SBS1 and SBS5) for sample.number
(e.g. 500) synthetic tumors.
NOTE: pearson.r.2.lower.thres
and pearson.r2.higher.thres
are used to constraint the Pearson's R^2 of mutation burdens of two signatures
in multiple tumors.
GenSBS1SBS5Exposure( main.signature = "SBS5", correlated.signature = "SBS1", sample.number = 500, name.prefix = "TwoCorreSigsGen", main.mean.log = 2.5, main.stdev.log = 0.25, correlated.stdev.log = 0.25, slope.linear = 1, main.signature.lower.thres = 50, correlated.signature.lower.thres = 30, pearson.r.2.lower.thres = 0.1, pearson.r.2.higher.thres = 1, min.main.to.correlated.ratio.linear = 1/3, max.main.to.correlated.ratio.linear = Inf )
main.signature |
Name of a signature with smaller variance in the log10 space. (Default: "SBS5") |
correlated.signature |
Name of a signature with larger variance in the log10 space. (Default: "SBS1") |
sample.number |
Number of tumors whose mutation burdens will be generated. (Default: 500) |
name.prefix |
Prefix of tumor name.
(Default: |
main.mean.log |
Mean of log10(mutation burden of |
main.stdev.log |
Standard deviation of log10(mutation burden
of |
correlated.stdev.log |
Contribute to part of the standard deviation of log10(mutation burden of correlated.signature). In this script, the s.d. of log10(mutation burden of correlated.signature) = main.stdev.log + correlated.stdev.log |
slope.linear |
Average ratio of mutation burden of |
main.signature.lower.thres |
Minimum mutation burden
(number of mutations) induced by |
correlated.signature.lower.thres |
Minimum mutation burden
(number of mutations) induced by |
pearson.r.2.lower.thres |
Minimum Pearson's R^2 of mutation burdens
of two signatures in |
pearson.r.2.higher.thres |
Maximum Pearson's R^2 of mutation burdens
of two signatures in |
min.main.to.correlated.ratio.linear |
Minimum ratio of
|
max.main.to.correlated.ratio.linear |
Maximum ratio of
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.