PlotChannel: Plot a channel/channels of an abf object.

Description Usage Arguments Value

Description

Plot a channel/channels of an abf object.

Usage

1
2
3
PlotChannel(abf, channel = 1L, intv = NULL, cursor = NULL,
  colour = FALSE, time_unit = "tick", auto_zoom = FALSE,
  title = NULL, ...)

Arguments

abf

an abf object.

channel

channels to plot, 1-based.

intv

OPTIONAL, an interval (a vector of c(start, end, len)) to plot on top.

cursor

OPTIONAL, cursors (a vector of positions) to plot on top.

colour

whether to plot in coloured mode.

time_unit

time unit for x axis.

auto_zoom

whether to zoom in the plot automatically.

title

OPTIONAL, title of the plot. If multiple channels are provided, a list of titles.

...

other arguments passed to melt, see melt.abf for more details.

Value

a ggplot object, or a list of ggplot objects if multiple channels are given.


Crystal-YWu/abftools documentation built on May 10, 2019, 8:22 a.m.