Learn R Programming

deconstructSigs (version 1.8.0)

plotSignatures: Plots the result from whichSignatures()

Description

Uses the output from whichSignatures() and creates a plot of the given tumor mutational spectrum and the calculated one

Usage

plotSignatures(sigs.output, sub = "")

Arguments

sigs.output
The list output from whichSignatures()
sub
A character vector that specifies cancer subtype for plot title, if wanted

Value

Plots the trinucleotide frequency for the given tumor on the top panel, the calculated one on the middle panel, and the difference between the two on the bottom panel.

Examples

Run this code
plotSignatures(example.output, sub = "example")

Run the code above in your browser using DataLab