plot.ABF {readABF} | R Documentation |
Plots an ABF Object
Description
S3 method to plot ABF
objects. Converts the ABF object to a data frame and then plots the data frame.
Usage
## S3 method for class 'ABF'
plot(x, pch = ".", ..., sweep = 1, type = c("all", "one"),
channels, unit = NULL)
Arguments
x |
an object of class ABF, typically generated by |
pch |
same as |
... |
further arguments that will be passed to |
sweep , type , channels , unit |
arguments that will be passed to |
See Also
Examples
# loads an example file and plots its first sweep
r <- readABF(system.file("extdata", "2009_01_19_0002_varlen_v18.abf", package="readABF"))
plot(r, sweep=1)
# leads to the same result
plot(as.data.frame(r, sweep=1), pch = ".")
[Package readABF version 1.0.2 Index]