PlotMutaliskResults | R Documentation |
Plots Mutalisk results
PlotMutaliskResults( mutalisk.results, signatures, df.ref.sigs.groups.colors, trinuc.max.y, trinuc.min.y, mut.type.max.y, title, font.size.small = 8, font.size.med = 14 )
mutalisk.results |
A list obtained from |
signatures |
A character vector of mutational signatures names |
df.ref.sigs.groups.colors |
A data.frame with signature groups and colors |
trinuc.max.y |
A numeric value (maximum y-axis value) |
trinuc.min.y |
A numeric value (minimum y-axis value) |
mut.type.max.y |
A numeric value |
title |
A string value |
font.size.small |
A numeric value |
font.size.med |
A numeric value |
A ggplot object
## Not run: df.ref.mut.sigs <- GetPCAWGMutSigs() target.mut.sigs <- GetPCAWGMutSigsNames() vcf.obj <- ReadVCF(vcf.file = "../data/sample/P-233-CT.final.vcf") mutalisk.results <- RunMutalisk(vcf.obj = vcf.obj, df.ref.mut.sigs = df.ref.mut.sigs, target.mut.sigs = target.mut.sigs) p <- PlotMutaliskResults(mutalisk.results = mutalisk.results) print(p) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.