visualizeSegments | 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, genes.to.label = NULL)
seg |
a |
to.plot |
chromosome to plot (by default plot all chromosomes) |
genes.to.label |
gene(s) to label |
require ggplot2, scales
plot graphics
sesameDataCache()
## Not run:
sdfs <- sesameDataGet('EPICv2.8.SigDF')
sdf <- sdfs[["K562_206909630040_R01C01"]]
seg <- cnSegmentation(sdf)
seg <- cnSegmentation(sdf, return.probe.signals=TRUE)
visualizeSegments(seg)
visualizeSegments(seg, to.plot=c("chr9","chr22"))
visualizeSegments(seg, genes.to.label=c("ABL1","BCR"))
## End(Not run)
sesameDataGet_resetEnv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.