Base class for 2D sparse matrix-like data with string dimensions. An
AssayMatrix may contain one or more "layers" (i.e., additional measurements
that share the same dimensions and non-empty coordinates.
Used for the X field of SOMA.
tiledbsc::TileDBObject -> tiledbsc::TileDBArray -> tiledbsc::AnnotationArray -> AssayMatrix
verbosePrint status messages
Inherited methods
tiledbsc::TileDBObject$class()tiledbsc::TileDBObject$exists()tiledbsc::TileDBArray$add_metadata()tiledbsc::TileDBArray$array_exists()tiledbsc::TileDBArray$attributes()tiledbsc::TileDBArray$attrnames()tiledbsc::TileDBArray$dimensions()tiledbsc::TileDBArray$dimnames()tiledbsc::TileDBArray$fragment_count()tiledbsc::TileDBArray$get_metadata()tiledbsc::TileDBArray$initialize()tiledbsc::TileDBArray$print()tiledbsc::TileDBArray$reset_query()tiledbsc::TileDBArray$schema()tiledbsc::TileDBArray$set_query()tiledbsc::TileDBArray$tiledb_array()
from_matrix()Ingest assay data from a sparse matrix
xany matrix-like object coercible to a
TsparseMatrix with string dimensions.
index_colsNames to use for the TileDB array's dimensions that will contain the matrix row/column names.
value_colName to use for the TileDB array's attribute that will contain the matrix values.
from_dataframe()Ingest assay data from a COO-formatted data frame
to_dataframe()Retrieve the assay data from TileDB
attrsSpecify one or more attributes to retrieve. If NULL,
all attributes are retrieved.
batch_modelogical, if TRUE, batch query mode is enabled, which
provides the ability to detect partial query results and resubmit until
all results are retrieved.
to_matrix()Retrieve assay data from TileDB as a 2D sparse matrix.
attrThe name of the attribute layer to retrieve. If NULL, the
first layer is returned.
batch_modelogical, if TRUE, batch query mode is enabled, which
provides the ability to detect partial query results and resubmit until
all results are retrieved.