plotRegion(BSseq, region = NULL, extend = 0, main = "", addRegions = NULL, annoTrack = NULL, col = NULL, lty = NULL, lwd = NULL, BSseqStat = NULL, stat = "tstat.corrected", stat.col = "black", stat.lwd = 1, stat.lty = 1, stat.ylim = c(-8, 8), mainWithWidth = TRUE, regionCol = alpha("red", 0.1), addTicks = TRUE, addPoints = FALSE, pointsMinCov = 5, highlightMain = FALSE)
plotManyRegions(BSseq, regions = NULL, extend = 0, main = "", addRegions = NULL, annoTrack = NULL, col = NULL, lty = NULL, lwd = NULL, BSseqStat = NULL, stat = "tstat.corrected", stat.col = "black", stat.lwd = 1, stat.lty = 1, stat.ylim = c(-8, 8), mainWithWidth = TRUE, regionCol = alpha("red", 0.1), addTicks = TRUE, addPoints = FALSE, pointsMinCov = 5, highlightMain = FALSE, verbose = TRUE)BSseq.data.frame (with start, end and chr columns)
with 1 row or GRanges of length 1. If region is
NULL the entire BSseq argument is plotted.data.frame (with start, end and chr columns)
or GRanges.extend.regions argument.GRanges objects. Each
component is a track and the names of the list are the track names.
Each track will be plotted as solid bars, and we routinely display
information such as CpG islands, exons, etc.BSseqStat. If present,
a new panel will be shown with the t-statistics.BSseqStat is not NULL.)addPoints =
TRUE.width = 10, height = 5. plotManyRegions is used to plot many regions (hundreds or
thousands), and is substantially quicker than repeated calls to
plotRegion.
This function has grown to be rather complicated over time. For custom plotting, it is sometimes useful to use the function definition as a skeleton and directly modify the code.