h5_to_matrix: H5 to Matrix format

Description Usage Arguments Value

View source: R/baseIO.R

Description

H5 group is converted to usable matrice including dense matrices and sparse matrices. Dense matrices(by R) and sparse matrices(constructed by Matrix package)

Usage

1
h5_to_matrix(h5mat, obs.name = NULL, var.name = NULL)

Arguments

h5

The name of the group the stores the matrix data in h5 file

obs_names

The observes names, such as cell names

var_names

The variables names, such as gene names

Value

dense matrix or sparse matrix


JiekaiLab/RIOH5 documentation built on June 5, 2021, 8:37 a.m.