ArchR icon indicating copy to clipboard operation
ArchR copied to clipboard

Error in h5read(x, paste0(useMatrix, "/Info/Units")): Object 'PeakMatrix/Info/Units' does not exist in this HDF5 file.

Open Alpha-LiCan opened this issue 9 months ago • 2 comments

I used my own peakset, but failed, plz help me, I beg u.

proj2 <- ArchRProject( ArrowFiles = ArrowFiles, outputDirectory = "PBMC_tile", copyArrows = TRUE )

proj2 <- filterDoublets(ArchRProj = proj2)

proj2 <- addPeakSet( ArchRProj = proj2, peakSet = gr )

proj2 <- addIterativeLSI(ArchRProj = proj2, useMatrix = "PeakMatrix", name = "IterativeLSI")

the error: Error in h5read(x, paste0(useMatrix, "/Info/Units")): Object 'PeakMatrix/Info/Units' does not exist in this HDF5 file. Traceback:

  1. addIterativeLSI(ArchRProj = proj2, useMatrix = "PeakMatrix", . name = "IterativeLSI")
  2. unique(unlist(lapply(ArrowFiles, function(x) h5read(x, paste0(useMatrix, . "/Info/Units")))))
  3. unlist(lapply(ArrowFiles, function(x) h5read(x, paste0(useMatrix, . "/Info/Units"))))
  4. lapply(ArrowFiles, function(x) h5read(x, paste0(useMatrix, "/Info/Units")))
  5. FUN(X[[i]], ...)
  6. h5read(x, paste0(useMatrix, "/Info/Units"))
  7. stop("Object '", name, "' does not exist in this HDF5 file.")

there is no meaningful information in the log

Alpha-LiCan avatar Sep 28 '23 01:09 Alpha-LiCan