read_acq | R Documentation |
Import Acqknowledge ACQ files into data.frames
read_acq(
acq_files,
hdf5_output_dir = NULL,
keep_hdf5 = TRUE,
acq2hdf5_location = NULL,
...
)
acq_files |
character vector of acq files to be converted to HDF5, then imported as data.frame |
hdf5_output_dir |
location for converted hdf5 files produced by acq2hdf5. Passed to acq2hdf5. |
keep_hdf5 |
logical indicating whether to retain hdf5 file after import completes. Default: TRUE |
acq2hdf5_location |
path to acq2hdf5 binary, installed by the bioread python package. |
This function calls the acq2hdf5 wrapper R function. The converted HDF5 files are then parsed by biopac_hdf5_to_dataframe, which relies heavily on the data.table package to build the data.frame containing physiological data.
a list of
## Not run:
acq_data <- read_acq("~/Data_Analysis/neuromap/s4_behav_data/physio/data/nmap016/nmap016.acq",
hdf5_output_dir = "~/temp_acq",
acq2hdf5_location = "~/Library/Python/3.7/bin/acq2hdf5")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.