【问题标题】:How to extract and read a bzip2ed hdf5 in a zipped file in R?如何在 R 的压缩文件中提取和读取 bzip2ed hdf5?
【发布时间】:2015-08-15 17:21:31
【问题描述】:

我想读取压缩文件中的 hdf5 文件。这里的问题是这个 hdf5 文件也被双压缩为 bzip2ed (.bz2) 文件。

请参考下图。

压缩文件是"g2_BIOPAR_SWI_201012250000_GLOBE_ASCAT_V2_0_0.ZIP"

目标bz2文件是"g2_BIOPAR_SWI_201012250000_GLOBE_ASCAT_V2_0_0.h5.bz2"

有人可以告诉我一些提示或指导吗?

【问题讨论】:

    标签: r hdf5 bzip2 hdf


    【解决方案1】:

    看看这个问题:

    Extract bz2 file in R

    它解释了如何读取.bz2 文件,我认为最后一个答案适合你;或者直接输入?bzfile。 之后,对于 hdf5 文件,您可以查看 Bioncoductor 的 rhdf5 包;这是链接:

    http://www.bioconductor.org/packages/release/bioc/html/rhdf5.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-13
      • 2014-07-04
      • 1970-01-01
      • 2020-10-06
      • 2014-06-20
      • 2013-12-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多