I was using the package diffHiC.
While using the mergePairs command I ran into a error which prevented R from opening .h5 files. The error I got was as follows
Error in H5Fopen(file, "H5FACCRDONLY", native = native) : HDF5. File accessibilty. Unable to open file.
Also the previous command prunePairs which also requires reading a .h5 file. It worked before but won't work now. Does anybody know what went wrong/ how I screwed it up ?