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 sdf <- sesameDataGet('EPIC.1.SigDF') sdfs.normal <- sesameDataGet('EPIC.5.SigDFs.normal') seg <- cnSegmentation(sdf, sdfs.normal) visualizeSegments(seg)