acq2hdf5: Calls the acq2hdf5 command (python bioread package) to...

View source: R/acq2hdf5.R

acq2hdf5R Documentation

Calls the acq2hdf5 command (python bioread package) to convert an acq file to an hdf5 file

Description

This is an R wrapper around the acq2hdf5 python command. It also supports output directory specification

Usage

acq2hdf5(
  acq_files,
  acq2hdf5_opts = "--compress=gzip",
  hdf5_output_dir = NULL,
  acq2hdf5_location = NULL
)

Arguments

acq_files

Character vector of acq files to convert to hdf5.

acq2hdf5_opts

Command line options passed to acq2hdf5. Default: "–missing-as=."

hdf5_output_dir

Directory for converted hdf5 files. Will be created if it does not exist.

acq2hdf5_location

The full path to the acq2hdf5 command. If not provided, this function will use the which/where command to look in the system path.

gzip_hdf5

A logical (TRUE/FALSE) indicating whether to gzip hdf5 files after conversion. Default: TRUE

Details

Note: the acq2hdf5 function is far faster than acq2hdf5 and also produces a much smaller file! In general, I would recommend that command for handling Acqknowledge files


PennStateDEPENdLab/experiment.pipeline documentation built on April 14, 2024, 9:37 p.m.