Learn R Programming

h5 (version 0.9.9)

DataSpace: The DataSpace Class

Description

The DataSpace class used to select data elements from DataSet objects. DataSpace objects can be generated using the S4--method selectDataSpace from DataSets objects in 3 ways:

  1. Without any parameters: Select all elements in DataSet.

  2. With offset and count: Select contiguous sub--region (hyperslab) from DataSet.

  3. With parameter elem: Select sub-elements specified by matrix holding selected indices. This selection type can become slow for many data points.

Usage

# S4 method for DataSpace
h5close(.Object)

selectDataSpace(.Object, offset = rep(NA_integer_, length(.Object@dim)), count = rep(NA_integer_, length(.Object@dim)), elem)

# S4 method for DataSet,missing,missing,missing selectDataSpace(.Object)

# S4 method for DataSet,ANY,ANY,missing selectDataSpace(.Object, offset, count)

# S4 method for DataSet,missing,missing,matrix selectDataSpace(.Object, elem)

Arguments

.Object

DataSet; S4 object of class DataSet (DataSpace for h5close).

offset

numeric; Offset to be selected from Hyperslab.

count

numeric; Count to be selected from Hyperslab.

elem

matrix; Matrix specifying element selection coordinates. Columns specify rank, rows specify different points.

...

additional arguments passed to c.