tiledb_array returns a new object. This class is experimental.
tiledb_array(
uri,
query_type = c("READ", "WRITE"),
is.sparse = NA,
attrs = character(),
extended = TRUE,
selected_ranges = list(),
selected_points = list(),
query_layout = character(),
datetimes_as_int64 = FALSE,
encryption_key = character(),
query_condition = new("tiledb_query_condition"),
timestamp_start = as.POSIXct(double(), origin = "1970-01-01"),
timestamp_end = as.POSIXct(double(), origin = "1970-01-01"),
return_as = get_return_as_preference(),
query_statistics = FALSE,
strings_as_factors = getOption("stringsAsFactors", FALSE),
keep_open = FALSE,
sil = list(),
dumpbuffers = character(),
buffers = list(),
ctx = tiledb_get_context(),
as.data.frame = FALSE
)tiledb_dense(...)
tiledb_sparse(...)
tiledb_array object
uri path to the tiledb dense array
optionally loads the array in "READ" or "WRITE" only modes.
optional logical switch, defaults to "NA" letting array determine it
optional character vector to select attributes, default is
empty implying all are selected, the special value NA_character_
has the opposite effect and implies no attributes are returned.
optional logical switch selecting wide ‘data.frame’
format, defaults to TRUE
optional A list with matrices where each matrix i describes the (min,max) pair of ranges selected for dimension i
optional A list with vectors where each vector i describes the points selected in dimension i
optional A value for the TileDB query layout, defaults to an empty character variable indicating no special layout is set
optional A logical value selecting date and datetime value
representation as ‘raw’ integer64
and not as Date
,
POSIXct
or nanotime
objects.
optional A character value with an AES-256 encryption key in case the array was written with encryption.
optional tiledb_query_condition
object, by default uninitialized
without a condition; this functionality requires TileDB 2.3.0 or later
optional A POSIXct Datetime value determining the inclusive time point at which the array is to be openened. No fragments written earlier will be considered.
optional A POSIXct Datetime value determining the inclusive time point until which the array is to be openened. No fragments written earlier later be considered.
optional A character value with the desired tiledb_array
conversion,
permitted values are ‘asis’ (default, returning a list of columns), ‘array’,
‘matrix’,‘data.frame’, ‘data.table’, ‘tibble’, ‘arrow_table’,
or ‘arrow’ (as an alias for ‘arrow_table’; here ‘data.table’,
‘tibble’ and ‘arrow’ require the respective packages to be installed.
The existing as.*
arguments take precedent over this.
optional A logical value, defaults to ‘FALSE’; if ‘TRUE’ the query statistics are returned (as a JSON string) via the attribute ‘query_statistics’ of the return object.
An optional logical to convert character columns to factor type; defaults
to the value of getOption("stringsAsFactors", FALSE)
.
An optional logical to not close after read or write
optional A list, by default empty to store schema information when query objects are parsed.
An optional character variable with a directory name (relative to
/dev/shm
) for writing out results buffers (for internal use / testing)
An optional list with full pathnames of shared memory buffers to read data from
optional tiledb_ctx
An optional deprecated alternative to return_as="data.frame"
which has
been deprecated and removed, but is still used in one BioConductor package; this argument will be removed
once the updated package has been released.
Used as a pass-through for tiledb_dense
and tiledb_sparse
aliasing