Factory function to create a SOMASparseNDArray for writing, (lifecycle: maturing)
Usage
SOMASparseNDArrayCreate(
uri,
type,
shape,
ingest_mode = c("write", "resume"),
platform_config = NULL,
tiledbsoma_ctx = NULL,
tiledb_timestamp = NULL
)
Arguments
- uri
URI for the TileDB object
- type
An Arrow type defining the type of each element in the array.
- shape
A vector of integers defining the shape of the array.
- ingest_mode
Ingestion mode when creating the TileDB object; choose from:
“
write
”: create a new TileDB object and error if it already exists“
resume
”: attempt to create a new TileDB object; if it already exists, simply open it for writing
- platform_config
Optional platform configuration
- tiledbsoma_ctx
Optional SOMATileDBContext
- tiledb_timestamp
Optional Datetime (POSIXct) for TileDB timestamp