Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [r] Port resume-mode to R Implement resume-mode ingestion in the R API This PR parallels #664; it adds support for resume-mode in factory functions, which allows `SOMA*Create()` to check for an already existing TileDB object at `uri` and if so, simply connect to it rather than try to re-create It also adds support for resume-mode in `write_soma()` methods; these methods check the `soma_joinids` that are present in the input data and that already exist on disk, and only writes data for `soma_joinids` that are missing from disk The following SOMA functions have been modified to with an `ingest_mode` parameter: - `SOMADataFrameCreate()` - `SOMASparseNDarrayCreate()` - `SOMACollectionCreate()` - `SOMAMeasurementCreate()` - `SOMAExperimentCreate()` The following methods of `write_soma()` have been modified with an `ingest_mode` parameter: - `write_soma.character()`/`write_soma.data.frame()`/`write_soma.Dataframe()` - `write_soma.matrix()`/`write_soma.TsparseMatrix()` - `write_soma.Seurat()` and other Seurat-subobject methods - `write_soma.SummarizedExperiment()`/`write_soma.SingleCellExperiment()` resolves #1399 * Simplify testing suite * Helper function to read SOMA join IDs from an array * Add support for resume-mode for `data.frame`s * Add tests for dense arrays * Better checking for SOMA array registration * Update docs to include resume-mode for collections * Add support for resume-mode with sparse arrays * Update docs * Update docs * Plumb resume-mode through `write_soma.Seurat()` and helper methods * Workaround for a bug in SeuratObject * More workaround * Plumb resume-mode through SCE write path * Improvements to `.register_soma_object` * Better handling of arrays/collections for resume-mode on TileDB Cloud * Allow force-reopen * Improve tests * Update docs * Update `write_soma()` for Bioc objects w/ resume mode on TileDB Cloud * Update changelog Bump develop version
- Loading branch information