stat_mismatch-method: Calculate mismatch summary

Description Usage Arguments Value Author(s)

Description

Calculate mismatch summary

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## for GRanges
## S4 method for signature 'GRanges'
stat_mismatch(data, ..., bsgenome, 
              xlab, ylab, main,
              geom = c("segment", "bar"),
              show.coverage = TRUE)
## for BamFile
## S4 method for signature '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'.

Author(s)

Tengfei Yin


ggbio documentation built on Nov. 8, 2020, 5:04 p.m.