Learn R Programming

SeuratObject (version 5.0.2)

.BPMatrixMode: BPCells Matrix Mode

Description

Get the mode (on-disk, in-memory) of an IterableMatrix object from BPCells

Usage

.BPMatrixMode(object, simplify = FALSE)

Value

One of the following, depending on the mode of object:

  • memory

  • file

  • directory

If simplify is TRUE, returns “disk” instead of “file” or “directory

Arguments

object

An IterableMatrix

simplify

Return “disk” for on-disk matrices