plotHeatmap: Genome wide heatmap of template inheritance states

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.R

Description

Plot a genome-wide heatmap of template inheritance states from a BreakPoint object.

Usage

1
plotHeatmap(files2plot, file = NULL, hotspots = NULL)

Arguments

files2plot

A list of files that contains BreakPoint objects or a single BreakPoint object.

file

Name of the file to plot to.

hotspots

A GRanges-class object with locations of breakpoint hotspots.

Value

A ggplot object.

Author(s)

David Porubsky, Aaron Taudt, Ashley Sanders

Examples

1
2
3
4
5
6
## Get example BreakPoint objects to plot
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
exampleFiles <- list.files(exampleFolder, full.names=TRUE)
breakpoint.objects <- loadFromFiles(exampleFiles)
## Plot the heatmap
plotHeatmap(breakpoint.objects)

breakpointR documentation built on Nov. 8, 2020, 8:04 p.m.