TileDBArray-globals | R Documentation |
Global options for writing TileDBArray backends, intended for parameters that cannot be automatically derived from the data.
getTileDBPath()
setTileDBPath(path = NULL)
getTileDBAttr()
setTileDBAttr(attr = NULL)
getTileDBDimType()
setTileDBDimType(dimtype = NULL)
getTileDBExtent()
setTileDBExtent(extent = NULL)
getTileDBContext()
setTileDBContext(context = NULL)
getTileDBCellOrder()
setTileDBCellOrder(cellorder = NULL)
getTileDBTileOrder()
setTileDBTileOrder(tileorder = NULL)
getTileDBCapacity()
setTileDBCapacity(capacity = NULL)
path |
String containing a path to a TileDB backend. |
attr |
String containing the name of a TileDB attribute. |
dimtype |
String specifying the TileDB datatype to use for the dimensions. |
extent |
Integer scalar specifying the tile extent for all dimensions. Alternatively, an integer vector of length equal to the number of dimensions, specifying a different extent for each dimension in the array to be created. |
context |
A TileDB context object, see |
cellorder |
String specifying the desired cell order. |
tileorder |
String specifying the desired tile order. |
capacity |
Integer scalar specifying the data tile capacity for sparse arrays. |
All of the getter functions return the current global value,
or a default value if the former is NULL
:
path
defaults to a temporary file in tempdir
.
attr
defaults to "x"
.
dimtype
defaults to "INT32"
.
extent
defaults to 100L
.
cellorder
defaults to "COL_MAJOR"
.
tileorder
defaults to "COL_MAJOR"
.
capacity
defaults to 10000L
.
context
defaults to the value of tiledb_ctx()
.
All setter functions change the global value and return NULL
invisibly.
Aaron Lun
writeTileDBArray
, where these functions are most often used.
setTileDBPath("my_local_dir")
getTileDBPath()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.