plotHeatmap: Genome wide heatmap of template inheritance states

View source: R/plotting.R

plotHeatmapR Documentation

Genome wide heatmap of template inheritance states

Description

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

Usage

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

## 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)


daewoooo/breakpointR documentation built on May 9, 2024, 5:03 p.m.