Single-cell Annotation Matrix

Single-cell Annotation Matrix

Details

Base class for matrix-like data with rows aligned to the observations or features of a SOMA.

Public fields

verbose

Print status messages

Methods

Inherited methods


Method from_matrix()

Ingest annotation matrix

Usage

AnnotationMatrix$from_matrix(x, index_col)

Arguments

x

any matrix-like object coercible to a TsparseMatrix with string dimensions.

index_col

Name to use for the TileDB array's dimension that will contain the matrix row names.


Method to_matrix()

Retrieve the annotation data from TileDB

Usage

AnnotationMatrix$to_matrix(attrs = NULL, batch_mode = FALSE)

Arguments

attrs

A character vector of the attribute names to retrieve. By default, all attributes are retrieved.

batch_mode

logical, if TRUE, batch query mode is enabled, which provides the ability to detect partial query results and resubmit until all results are retrieved.

Returns

A matrix


Method clone()

The objects of this class are cloneable with this method.

Usage

AnnotationMatrix$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.