plotSegment {nullranges} | R Documentation |
Plot genome segmentation
plotSegment( seg, exclude = NULL, type = c("ranges", "barplot", "boxplot"), region = NULL )
seg |
the segmentation GRanges returned by |
exclude |
GRanges of excluded region |
type |
the type of plot returned. Choices are segmentation plot
included ranges information, barplot showing segmentation states' distribution across chromosome,
or a box plot indicating average density within each states.
Default is all plots are displayed.
The y axis |
region |
GRanges of stricted region that want to be plotted. |
A ggplot
set by type
argument
example("segmentDensity") plotSegment(seg, exclude, type = "ranges") plotSegment(seg, exclude, type = "barplot") plotSegment(seg, exclude, type = "boxplot")