# load breakpoint data containing twelve chimeric reads describing an inversion in chromosome 16
data("breakpoints")
breakpoints
# standard plot
# (only arrangement of reads plotted; breakpoints in orange, deletions
# in red, insertions in green and mismatches in black by default)
plotChimericReads(breakpoints)
# plot base pairs in the breakpoint region (+/- 32bp)
## Not run: plotChimericReads(breakpoints, plotBasePairs=TRUE, maxBasePairs=32)
# use custom colours and display a legend:
# deletions="brown", insertions="blue", mismatches="yellow", breakpoints="gray"
plotChimericReads(breakpoints, col=c("brown", "blue", "yellow", "gray"), legend=TRUE)
Run the code above in your browser using DataLab