plotBreakpointsPerChr: Plotting chromosome specific ideograms 'breakpointR'

View source: R/plotting.R

plotBreakpointsPerChrR Documentation

Plotting chromosome specific ideograms breakpointR

Description

This function will create chromsome specific enome-wide ideograms from a BreakPoint object.

Usage

plotBreakpointsPerChr(files2plot, plotspath = NULL, chromosomes = NULL)

Arguments

files2plot

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

plotspath

Directory to store plots.

chromosomes

Set specific chromosome(s) to be plotted.

Value

A list with ggplot objects.

Author(s)

David Porubsky

Examples

## Get an example file
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
exampleFiles <- list.files(exampleFolder, full.names=TRUE)
## Plot results
plotBreakpointsPerChr(exampleFiles, chromosomes='chr7')


daewoooo/BreakPointR documentation built on May 8, 2024, 10:43 p.m.