single-cell-data / TileDB-SOMA

Python and R SOMA APIs using TileDB’s cloud-native format. Ideal for single-cell data at any scale.
MIT License
79 stars 21 forks source link

[r] Connect re-indexer to blockwise iterator #2742

Closed mojaveazure closed 3 weeks ago

mojaveazure commented 3 weeks ago

Connect the re-indexer to the blockwise iterator, allowing reads to be re-indexed on-the-fly. This PR parallels #1792 and completes #2152 and #2637; in addition, provides new shorthand for reindex_disable_on_axis:

BlockwiseTableReadIter$concat() and BlockwiseSparseReadIter$concat() are disabled when re-indexing is requested (paralleling Python)

BlockwiseSparseReadIter now accepts repr = "R" or repr = "C" under certain circumstances:

repr of "T" is allowed in all circumstances and continues to be the default

Two new fields are available to blockwise iterators:

resolves #2671