visualizeSegments: Visualize segments

Description Usage Arguments Details Value Examples

View source: R/cnv.R

Description

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

Usage

1
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

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

visualizeSegments(seg)

sesame documentation built on Nov. 15, 2020, 2:08 a.m.