import_ABF_file()
is a wrapper around abftools::abf2_load()
and
abftools::MeltAbf()
. It converts the array from abf2_load()
into a
dataframe, and it also converts time to minutes.
Value
A dataframe with 5 columns:
time
Time value from Clampfit which is in milliseconds x 10. For example, 5 seconds = 50000 in this column.episode
Character value (e.g. "epi1", "epi2") which corresponds directly to "sweep" in Clampfit.current
Current in pA.voltage
Voltage in mV.time_sec
Time in seconds.
Details
The file progresses from .abf to an array and then to a dataframe that can be easily manipulated in R.
Examples
import_ABF_file(import_ext_data("sample_abf.abf"))