Learn R Programming

deconstructSigs (version 1.8.0)

plotTumor: Plots a tumor profile

Description

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

Usage

plotTumor(tumor, sub = "")

Arguments

tumor
A tumor matrix
sub
A character vector that specifies cancer subtype for plot title, if wanted

Value

Plots the trinucleotide frequency for the given tumor

Examples

Run this code
plotTumor(example.output[['tumor']], sub = "example")

Run the code above in your browser using DataLab