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:
Without any parameters: Select all elements in DataSet
.
With offset
and count
: Select contiguous sub–region
(hyperslab) from DataSet
.
With parameter elem
: Select sub-elements specified by matrix
holding selected indices. This selection type can become slow for many
data points.
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)
|
.Object |
DataSet; S4 object of class |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.