HDF5ReadAttribute: Reading HDF5 attribute

Description Usage Arguments Note Author(s) See Also Examples

Description

Read an attribute from HDF5 file.

Usage

1
HDF5ReadAttribute(filename,path)

Arguments

filename

HDF5 file name in full path

path

the full path of the attribute within the HDF5 file

Note

None at this time

Author(s)

Wilson Lau

See Also

HDF5Summary HDF5ReadData HDF5WriteData HDF5WriteAttribute

Examples

1
2
3
4
5
6
 
 # read the attribute named "attInt" of a group "dsGrp" 
 att<-HDF5ReadAttribute("./Kidneycortex_Female_W10.h5","/dsGrp/attInt")

 # read the attribute named "attInt" of a dataset "dsInt" within a group "dsGrp" 
 att<-HDF5ReadAttribute("./Kidneycortex_Female_W10.h5","/dsGrp/dsInt/attInt")

Sage-Bionetworks/rHDF5 documentation built on May 9, 2019, 12:13 p.m.