View source: R/GenerateListOfSigParams.R
GenerateListOfSigParams | R Documentation |
Generate a list of signature parameters for different cancer types from real exposure
GenerateListOfSigParams( real.exposures, cancer.types, distribution = NULL, verbose = 0, sig.params = NULL )
real.exposures |
A matrix of real exposures. |
cancer.types |
A vector of character strings denoting different cancer
types. This function will search |
distribution |
Probability distribution used to generate synthetic
exposures due to active mutational signatures. Can be |
verbose |
If > 0 cat various messages. |
sig.params |
Empirical signature parameters generated using real
exposures irrespective of their cancer types. If there
is only one tumor having a signature in a cancer type in |
This function calls GetSynSigParamsFromExposures
.
# Generate a list of signature parameters for Indel (ID) using negative binomial distribution real.exposures.ID <- PCAWG7::exposure$PCAWG$ID cancer.types <- PCAWG7::CancerTypes()[1:5] sig.params <- SynSigGen::signature.params$ID ID.sig.params <- GenerateListOfSigParams(real.exposures = real.exposures.ID, cancer.types = cancer.types, distribution = "neg.binom", sig.params = sig.params )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.