0

我有一个 hdf5 文件,我想读取它的子组。

file is 'GSE77565_FBD_IC-heatmap-chr-10k.hdf5.gz' that downloaded from GEO number= 'GSE77565'

我读到如下数据:

library(rhdf5)

h5f = H5Fopen("file.hdf5")
h5f 
HDF5 FILE 
        name /
    filename 

        name       otype dclass           dim
0  (0, 0)    H5I_DATASET FLOAT  24926 x 24926
1  (1, 1)    H5I_DATASET FLOAT  24320 x 24320
2  (10, 10)  H5I_DATASET FLOAT  13501 x 13501

但是当我想阅读其中一个名字时,我遇到了错误:

h5f$"(1, 1)"
Error: Unable to read dataset.
Not all required filters available.
Missing filters: lzf

另外,我无法打开任何子组:

h5f_1 = H5Fopen("file.hdf5","(1, 1)")
Error: Unable to read dataset.
Not all required filters available.
 Missing filters: lzf
In addition: Warning message:
In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) :
  An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles.

h5f&"(1, 1)"
HDF5 DATASET 
    name /(1, 1)
filename 
    type H5T_IEEE_F64LE
    rank 2
    size 24320 x 24320
 maxsize 24320 x 24320
4

0 回答 0