Description Usage Arguments Details Value
Plot abf objects in time domain.
1 2 3 | abf_plot_td(abf, intv = NULL, channel, episode, concat_epi,
sample_ratio = 1L, sample_func = "mean", sample_colFunc = NULL,
..., time_unit = "tick", colour = TRUE)
|
abf |
an abf object/list of abf objects. |
intv |
an INDEX intv to sample abf. |
channel |
channels to map. |
episode |
episodes to group. |
concat_epi |
wheter to concatenate all episodes. |
sample_ratio |
sample ratio. |
sample_func |
sample function. |
sample_colFunc |
a sample column function. |
... |
passed to sample_func(). |
time_unit |
a time unit passed to TickToTime(). |
colour |
whether to plot in coloured mode. |
This is a low-level plotting function that returns a ggplot object with plotting data generated by MeltAbf() and aesthetics properly mapped.
If only one channel is provided, a "wide" format data.frame is generated and y is mapped to the channel. If multiple channel is provided, a "long" data.frame is generated and y is mapped to "value" column.
Since this is a low-level function, there is no data validation or sanity check performed. Use with caution.
a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.