Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

extract_dim

Set the correct dimension attribute for an object


Description

Set the correct dimension attribute for an object

Usage

extract_dim(space, dtype)

Arguments

space

The space with the selection that was used to read the dataset

dtype

The datatype of the dataset

x

an object that was read from an HDF5 dataset or attribute

Details

This function uses the space and the selection in it to set the correct dimension for the resulting object (but without dropping dimensions). Furthermore, if the datatype is an array, those dimensions are correctly determined as well.

Internal use only; currently unused

Value

x, but with a new dimension attribute

Author(s)

Holger Hoefling


hdf5r

Interface to the 'HDF5' Binary Data Format

v1.3.3
Apache License 2.0 | file LICENSE
Authors
Holger Hoefling [aut, cre], Mario Annau [aut], Novartis Institute for BioMedical Research (NIBR) [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.