Skip to contents

Check that a dataset is a proper loom matrix

Usage

CheckMatrix(lfile, name, dims = NULL)

Arguments

lfile

A loom or H5File object

name

Name of matrix to check

dims

If provided, ensure lfile[[name]] has these dimensions; should be a two-dimensional numeric vector with ncells/ncol as the first value and nfeature/nrow as the second

Value

If all checks pass successfully, invisibly returns name