Dims: Get the dimensions of an HDF5 dataset or sparse matrix

View source: R/h5info.R

DimsR Documentation

Get the dimensions of an HDF5 dataset or sparse matrix

Description

Get the dimensions of an HDF5 dataset or sparse matrix

Usage

Dims(x)

Arguments

x

An HDF5 dataset or sparse matrix

Value

A vector with the dimensions of the dataset or sparse matrix. For sparse matrices, if no dimensions are found in either the “dims” or “shape” attribute, returns c(NA_integer_, NA_integer_)

See Also

vignette("h5Seurat-spec")


mojaveazure/seurat-disk documentation built on Nov. 5, 2023, 9:40 a.m.