| PlotSignaturesContProbs | R Documentation | 
Plots a horizontal barplot of identified mutational signatures
PlotSignaturesContProbs( df.identified.mut.sigs, df.ref.sigs.groups.colors, title, convert.to.percentage = T, font.size.small = 8, font.size.med = 14, plot.margin = unit(c(0.5, 0.5, 0.5, 0.5), "cm") )
df.identified.mut.sigs | 
 A data.frame of identified mutational signatures  | 
df.ref.sigs.groups.colors | 
 A data.frame with 'signature', 'group', and 'color' columns  | 
title | 
 Plot title  | 
convert.to.percentage | 
 If true, convert y values to percentage (x 100); Default = T,  | 
font.size.small | 
 Small font size; Default = 8,  | 
font.size.med | 
 Medium font size; Default = 14,  | 
plot.margin | 
 Margin vector for drawing plot; Default = unit(c(0.5, 0.5, 0.5, 0.5), "cm"))  | 
A ggplot object
## Not run: g <- PlotSignaturesContProbs(sigs = c(mutalisk.results$identified.mut.sigs), sigs.probs = c(mutalisk.results$identified.mut.sigs.probs), df.ref.sigs.groups.colors = GetPCAWGMutSigsEtiologiesColors()) print(g) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.