Learn R Programming

deconstructSigs (version 1.8.0)

makePie: Plots the weights from whichSignatures()

Description

Uses the output from whichSignatures() and creates a pie chart of the weights outputted

Usage

makePie(sigs.output, sub = "", add.color = NULL)

Arguments

sigs.output
The list output from whichSignatures()
sub
A character vector that specifies cancer subtype for plot title, if wanted
add.color
Optional character vector to assign additional colors for novel signatures

Value

Plots a pie chart of the weights calculated in the given tumor sample

Examples

Run this code
makePie(example.output)

Run the code above in your browser using DataLab