Intermediate type to choose result format when reading a sparse array
Super class
tiledbsoma::SOMASparseNDArrayReadBase
-> SOMASparseNDArrayRead
Methods
Inherited methods
Method sparse_matrix()
Read as a sparse matrix (lifecycle: maturing). Returns an iterator of Matrix::dgTMatrix-class or matrixZeroBasedView of it.
Arguments
zero_based
Logical, if
TRUE
returns iterator of matrixZeroBasedView ifFALSE
returns iterator of Matrix::dgTMatrix-class.
Method tables()
Read as a arrow::Table (lifecycle: maturing). Returns an iterator of arrow::Table.
Method blockwise()
Read in a blockwise fashion
Arguments
axis
Axis to iterate over in a blockwise manner
...
Ignored
size
The size of each blockwise chunk to generate
reindex_disable_on_axis
Additional axes that will not be re-indexed; the following values may be used as shorthands for common settings:
“
TRUE
”: disable re-indexing on all axes“
NA
”: re-index only onaxis
, disable re-indexing on all others“
FALSE
”: re-index on all axes, do not disable re-indexing
Returns
A SOMASparseNDArrayBlockwiseRead
iterated reader