plot.ABF: Plots an ABF Object

Description Usage Arguments See Also Examples

Description

S3 method to plot ABF objects. Converts the ABF object to a data frame and then plots the data frame.

Usage

1
2
3
## 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 readABF.

pch

same as pch from par.

...

further arguments that will be passed to plot.

sweep, type, channels, unit

arguments that will be passed to as.data.frame.ABF.

See Also

as.data.frame.ABF

Examples

1
2
3
4
5
6
# 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 = ".")

Example output



readABF documentation built on July 22, 2020, 1:08 a.m.