SparseReadIter
is a class that allows for iteration over
a reads on SOMASparseNDArray.
Iteration chunks are retrieved as 0-based Views matrixZeroBasedView of Matrix::sparseMatrix.
Super class
tiledbsoma::ReadIter
-> SparseReadIter
Methods
Inherited methods
Method new()
Create (lifecycle: maturing)
Usage
SparseReadIter$new(sr, shape, zero_based = FALSE)
Arguments
sr
Soma reader pointer
shape
Shape of the full matrix
zero_based
Logical, if TRUE will make iterator for Matrix::dgTMatrix-class otherwise matrixZeroBasedView.
Method concat()
Concatenate remainder of iterator.
Returns
matrixZeroBasedView of Matrix::sparseMatrix