PlotChannelAbf: Plot channel data of abf objects.

Description Usage Arguments Value

Description

AbfPlotChannel() is a unified wrapper to abf_plot_td(), it is capable of plotting multiple abf object facetted by id, multiple channels facetted by channel.

When printing the returned plot with a large number of abf objects, it can be very slow. It is recommended to use AbfPeekChannel() for previewing and plot tuning.

Usage

1
2
3
4
5
6
7
8
PlotChannelAbf(abf, intv = NULL, channel = GetAllChannels(abf),
  episode = GetAvailEpisodes(abf), concat_epi = FALSE, cursor = NULL,
  time_unit = "tick", colour = max(nEpi(abf)) > 1L,
  auto_zoom = FALSE, title = NULL, ...)

PeekChannelAbf(abf, intv = NULL, channel = 1L, sample_ratio = 100L,
  cursor = NULL, time_unit = "tick", colour = TRUE,
  auto_zoom = FALSE, title = NULL, ...)

Arguments

abf

an abf object/a list of abf objects

intv

an INDEX intv to sample abf.

channel

channels to plot.

episode

episodes to group.

concat_epi

wheter to concatenate all episodes.

cursor

add indicative cursors to plot.

time_unit

time unit for X axis.

colour

wheter to plot in coloured mode.

auto_zoom

wheter to zoom into area focused by cursor.

title

add title to the plot.

...

passed to MeltAbf().

Value

a ggplot object.


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