Description Usage Arguments Value Examples
View source: R/vis_signature.R
Generate visualization of mutation signatures for the model with substitution patterns and flanking bases represented by the indepenent representation.
1 2 |
vF |
a matrix for mutation signature |
numBases |
the number of flanking bases |
baseCol |
the colour of the bases (A, C, G, T, plus/minus strand) |
trDir |
the index whether the strand direction is plotted or not |
charSize |
the size of the character |
isScale |
the index whether the height of the flanking base is changed or not |
alpha |
the parameter for the Renyi entropy (applicable only if the isScale is TRUE) |
charLimit |
the limit of char size |
a plot of the input mutational signature
1 2 3 4 5 | load(system.file("extdata/sample.rdata", package="HiLDA"))
Param <- pmgetSignature(G, K = 3)
sig <- slot(Param, "signatureFeatureDistribution")[1,,]
visPMS(sig, numBases = 5, isScale = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.