makeH5Index: Create a index table for an HDF5 dataset based on column

Description Usage Arguments Value Examples

View source: R/util_functions.R

Description

makeH5Index takes a specified HDF5 dataset in a given file, and produces an index of the data based off of entries in a specified column of the dataset. This function assumes datasetName is sorted by the column that will be used as an index. If not, the user should use sortByIndex to produce a sorted dataset for indexing.

Usage

1
makeH5Index(filename, datasetName, indexCol, dataIndexName, rowSize = 1e+06)

Arguments

filename

String specifying the h5 file.

datasetName

The dataset to be indexed.

indexCol

The column that stores indexing entries.

dataIndexName

The index dataset name.

rowSize

A parameter to specify how many rows of data to load at any time.

Value

The data frame that specifies the row indices.

Examples

1
makeH5Index("foo.h5","/theData",3,"frameIndices")

MirceaDavidEsc/bigh5 documentation built on May 7, 2019, 4:58 p.m.