Extract sparse matrix with corrected counts from CellBender h5 output file.
References
Code used in function has been modified from Seurat::Read10X_h5
function of
Seurat package https://github.com/satijalab/seurat (License: GPL-3).
Examples
file_name <- system.file("extdata", "raw_feature_bc_matrix_filtered.h5", package = "scMisc")
mat <- ReadCellBender_h5(file_name)