AnnotationMatrix: Single-cell Annotation Matrix

AnnotationMatrixR Documentation

Single-cell Annotation Matrix

Description

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.

Super classes

tiledbsc::TileDBObject -> tiledbsc::TileDBArray -> tiledbsc::AnnotationArray -> AnnotationMatrix

Public fields

verbose

Print status messages

Methods

Public 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.


TileDB-Inc/tiledbsc documentation built on Aug. 26, 2023, 2:32 p.m.