CheckMatrix: Check that a dataset is a proper loom matrix

View source: R/loom.R

CheckMatrixR Documentation

Check that a dataset is a proper loom matrix

Description

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


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