ggbio (version 1.20.0)

stat_mismatch: Calculate mismatch summary

Description

Calculate mismatch summary

Usage

## for GRanges "stat_mismatch"(data, ..., bsgenome, xlab, ylab, main, geom = c("segment", "bar"), show.coverage = TRUE) ## for BamFile "stat_mismatch"(data, ..., bsgenome, which, xlab, ylab, main, geom = c("segment", "bar"), show.coverage = TRUE)

Arguments

data
A GRanges or BamFile object.
...
Extra parameters such as aes() passed to geom_rect, geom_alignment, or geom_segment.
bsgenome
BSgenome object.
which
GRanges object to subset the data.
xlab
Label for x
ylab
Label for y
main
Title for plot.
geom
The geometric object to use display the data.
show.coverage
whether to show coverage as background or not.

Value

A 'Layer'.