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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'DataSpace'
h5close(.Object)

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

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

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

## S4 method for signature '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.