barplotMutations: Function to plot mutation counts.

Description Usage Arguments Author(s) Examples

View source: R/barplots.R

Description

Plots a barplot of mutation counts.

Usage

1
barplotMutations(mutations, sigcol = c(rep("lightblue", 16), rep("black", 16), rep("red", 16), rep("gray", 16), rep("green", 16), rep("pink", 16)), ...)

Arguments

mutations

One-column data frame of mutation counts. Row names must match the rownames of s30 from data(s30). However, these are re-ordered in the graph with a call to the internal function cosmicSignnls:::reorderMutations

sigcol

Colors for each the (re-ordered) 96 bars.

...

Additional arguments passed to barplot.

Author(s)

Mathieu Lemire

Examples

1
2
data(s30)
barplotMutations(s30[,1,drop=F], ylim=c(0,.2)  )

mathieu-lemire/cosmicSignnls documentation built on June 7, 2017, 3:40 a.m.