Base class for representing an individual TileDB array. (lifecycle: experimental)
Super class
tiledbsoma::TileDBObject
-> TileDBArray
Active bindings
object
Access the underlying TileB object directly (either a
tiledb::tiledb_array
ortiledb::tiledb_group
).
Methods
Method open()
Open the SOMA object for read or write.
Usage
TileDBArray$open(mode = c("READ", "WRITE"), internal_use_only = NULL)
Arguments
mode
Mode to open in; defaults to
READ
.internal_use_only
Character value to signal this is a 'permitted' call, as
open()
is considered internal and should not be called directly.
Method tiledb_array()
Return a TileDBArray
object (lifecycle: experimental)
Arguments
...
Optional arguments to pass to
tiledb::tiledb_array()
Returns
A tiledb::tiledb_array
object.
Method schema()
Retrieve the array schema as an Arrow schema (lifecycle: experimental)
Returns
A arrow::schema
object
Method tiledb_schema()
Retrieve the array schema as TileDB schema (lifecycle: experimental)
Returns
A tiledb::tiledb_array_schema
object
Method dimensions()
Retrieve the array dimensions (lifecycle: experimental)
Returns
A named list of tiledb::tiledb_dim
objects
Method shape()
Retrieve the shape, i.e. the capacity of each dimension. This will not necessarily match the bounds of occupied cells within the array. Rather, it is the bounds outside of which no data may be written. (lifecycle: experimental)
Method used_shape()
Retrieve the range of indexes for a dimension that were explicitly written.
Arguments
simplify
Return a vector of
bit64::integer64
s containing only the upper bounds.index1
Return the used shape with 1-based indices (0-based indices are returned by default)
Method non_empty_domain()
Retrieve the non-empty domain for each dimension. This
method calls tiledb::tiledb_array_get_non_empty_domain_from_name
for
each dimension in the array.
Returns
A vector of bit64::integer64
s with one entry for
each dimension.
Method attributes()
Retrieve the array attributes (lifecycle: experimental)
Returns
A list of tiledb::tiledb_attr
objects
Method dimnames()
Retrieve dimension names (lifecycle: experimental)
Method colnames()
Retrieve the names of all columns, including dimensions and attributes (lifecycle: experimental)