matrix_to_h5: Matrix to H5 format

Description Usage Arguments

View source: R/baseIO.R

Description

The matrix including the dense matrix and sparse matrix is converted to the matrix in h5 format or is stored into the h5 file.

Usage

1
2
3
4
5
6
7
matrix_to_h5(
  mat,
  h5,
  gr_name = NULL,
  save.obs.name = FALSE,
  save.var.name = FALSE
)

Arguments

mat

The matrix object including matrix(R) and sparse matrix(Matrix package)

h5

The H5 file name that we write in

gr_name

The h5 gorup store the matrix (dense matrix or sparse matrix)

save.obs.name

The rownames isn't be saved(FALSE by defualt)

save.var.name

The colnames isn't be saved(FALSE by defualt)


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