Single-cell Annotation Pairwise Matrix

Single-cell Annotation Pairwise Matrix

Details

Base class for matrix-like data storing pairwise relationships with rows and columns aligned to either the observations or features of X (AssayMatrix).

Super classes

tiledbsc::TileDBObject -> tiledbsc::TileDBArray -> tiledbsc::AnnotationArray -> AnnotationPairwiseMatrix

Methods

Inherited methods


Method from_matrix()

Ingest annotation matrix

Usage

AnnotationPairwiseMatrix$from_matrix(x, index_cols, value_col = "value")

Arguments

x

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

index_cols

Names to use for the TileDB array's dimensions that will contain the matrix row/column names.

value_col

Name to use for the TileDB array's attribute that will contain the matrix values.


Method to_matrix()

Read annotation data from TileDB into a matrix

Usage

AnnotationPairwiseMatrix$to_matrix()

Returns

A matrix


Method to_dataframe()

Read annotation data from TileDB into a data frame

Usage

AnnotationPairwiseMatrix$to_dataframe(attrs = NULL)

Arguments

attrs

Specify one or more attributes to retrieve. If NULL, all attributes are retrieved.

Returns

A data.frame


Method to_sparse_matrix()

Read annotation data from TileDB into a sparse matrix

Usage

AnnotationPairwiseMatrix$to_sparse_matrix()

Returns

A Matrix::dgTMatrix.


Method to_seurat_graph()

Read annotation data from TileDB into Seurat Graph

Usage

AnnotationPairwiseMatrix$to_seurat_graph()


Method clone()

The objects of this class are cloneable with this method.

Usage

AnnotationPairwiseMatrix$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.