visualizeSegments {sesame} | R Documentation

## Visualize segments

### Description

The function takes a `CNSegment` object obtained from cnSegmentation and plot the bin signals and segments (as horizontal lines).

### Usage

    visualizeSegments(seg, to.plot = NULL)

### Arguments

`seg` | a `CNSegment` object
`to.plot` | chromosome to plot (by default plot all chromosomes)

### Details

require ggplot2, scales

### Value

plot graphics

### Examples

    seg <- sesameDataGet('EPIC.1.LNCaP')$seg

    visualizeSegments(seg)

[Package sesame version 1.2.0 Index]