visualizeSegments {sesame} | R Documentation |
The function takes a CNSegment
object obtained from cnSegmentation
and plot the bin signals and segments (as horizontal lines).
visualizeSegments(seg, to.plot = NULL)
seg |
a |
to.plot |
chromosome to plot (by default plot all chromosomes) |
require ggplot2, scales
plot graphics
sesameDataCache("EPIC") # in case not done yet seg <- sesameDataGet('EPIC.1.LNCaP')$seg visualizeSegments(seg)