Function try to load 'FST' arrays, if not found, read 'HDF5' arrays
Source:R/LazyFST-class.R
io_read_fstarray_or_h5.Rd
Experimental function; use with caution.
Usage
io_read_fstarray_or_h5(
fst_path,
h5_path,
h5_name,
fst_need_transpose = FALSE,
fst_need_drop = FALSE,
ram = FALSE
)
Details
RAVE stores data with redundancy. One electrode data
is usually saved with two copies in different formats: 'HDF5' and
'FST', where 'HDF5' is cross-platform and supported by multiple
languages such as Matlab
, Python
, etc, while 'FST'
format is supported by R only, with super high read/write speed.
load_fst_or_h5
checks whether the presence of 'FST' file,
if failed, then it reads data from persistent 'HDF5' file.