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_basedLogical, if
TRUEreturns iterator of matrixZeroBasedView ifFALSEreturns 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
axisAxis to iterate over in a blockwise manner
...Ignored
sizeThe size of each blockwise chunk to generate
reindex_disable_on_axisAdditional 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