calculate_trinuc_rates | R Documentation |
Used internally to calculate trinuc rates from signature weights
calculate_trinuc_rates(weights, signatures, tumor_names)
weights |
matrix of signature weights |
signatures |
matrix of signatures |
tumor_names |
names of tumors corresponding to rows of weights |
If any relative rate is less than 1e-9, we add the lowest above-threshold rate to all rates and renormalize rates so that they sum to 1.
matrix of trinuc rates where each row corresponds to a tumor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.