| TileDBGroup | R Documentation |
Base class for interacting with TileDB groups
Upon initialization a new group is created if one does not already exist at
the specified uri.
A named list of group members.
The array object.
tiledbsc::TileDBObject -> TileDBGroup
membersNamed list of members in the group
new()Create a new TileDBGroup object.
TileDBGroup$new(uri, verbose = TRUE, config = NULL, ctx = NULL)
uriTileDB array URI
verbosePrint status messages
configoptional configuration
ctxoptional tiledb context
print()Print summary of the group.
TileDBGroup$print()
group_exists()Check if the group exists.
TileDBGroup$group_exists()
TRUE if the group exists, FALSE otherwise.
tiledb_group()Return a tiledb_group object
TileDBGroup$tiledb_group(...)
...Optional arguments to pass to tiledb::tiledb_array()
A tiledb::tiledb_group object.
list_objects()List the TileDB objects within the group.
TileDBGroup$list_objects(type = NULL)
typeThe type of object to list, either "ARRAY", or "GROUP".
By default all object types are listed.
A data.frame with columns URI and TYPE.
list_object_uris()List URIs for TileDB objects within the group.
TileDBGroup$list_object_uris(type = NULL, prefix = NULL)
typeThe type of object to list, either "ARRAY", or "GROUP".
By default all object types are listed.
prefixFilter URIs whose basename contain an optional prefix.
A character vector of object URIs with names corresponding to the basename of the object.
add_member()Add new member to the group.
TileDBGroup$add_member(object, name = NULL, relative = NULL)
objectThe TileDBArray or TileDBGroup object to add.
nameThe name to use for the member. By default the base name of the object's URI is used.
relativeA logical value indicating whether the new member's URI is relative to the group's URI.
remove_member()Remove member from the group.
TileDBGroup$remove_member(name)
nameThe name of the member to remove.
count_members()Count the number of members in the group.
TileDBGroup$count_members()
Integer count of members in the group.
list_members()List the members of the group.
TileDBGroup$list_members(type = NULL)
typeThe type of member to list, either "ARRAY", or "GROUP".
By default all member types are listed.
A data.frame with columns URI, TYPE, and NAME.
list_member_uris()List URIs for group members
TileDBGroup$list_member_uris(type = NULL, prefix = NULL)
typeThe type of member to list, either "ARRAY", or "GROUP".
By default all member types are listed.
prefixFilter for members whose name contains an optional prefix.
A character vector of member URIs, named for the group member
get_members()Retrieve arrays within the group that meet the specified criteria.
TileDBGroup$get_members(type = NULL, prefix = NULL)
typeThe type of group members to list, either "ARRAY", or
"GROUP".
prefixString prefix to filter the member names.
get_member()Retrieve a group member.
TileDBGroup$get_member(name)
nameThe name of the array to retrieve.
get_metadata()Retrieve metadata from the TileDB group.
TileDBGroup$get_metadata(key = NULL, prefix = NULL)
keyThe name of the metadata attribute to retrieve.
prefixFilter metadata using an optional prefix. Ignored if key
is not NULL.
A list of metadata values.
add_metadata()Add list of metadata to the TileDB group.
TileDBGroup$add_metadata(metadata, prefix = "")
metadataNamed list of metadata to add.
prefixOptional prefix to add to the metadata attribute names.
NULL
clone()The objects of this class are cloneable with this method.
TileDBGroup$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.