Skip to contents

SOMA Array Base Class

SOMA Array Base Class

Details

Adds SOMA-specific functionality to the TileDBArray class. (lifecycle: maturing)

Super classes

tiledbsoma::TileDBObject -> tiledbsoma::TileDBArray -> SOMAArrayBase

Active bindings

soma_type

Retrieve the SOMA object type.

Methods

Inherited methods


Method allows_duplicates()

Does an array allow duplicates?

Usage

SOMAArrayBase$allows_duplicates()

Returns

TRUE if the underlying TileDB array allows duplicates; otherwise FALSE


Method attributes()

Retrieve the array attributes

Usage

SOMAArrayBase$attributes()

Returns

A named list of array attributes; each entry contains the following named entries:

  • name”: name of the attribute

  • type”: datatype of the attribute

  • ncells”: number of values per dimension cell

  • nullable”: is the attribute nullable

  • filter_list”: a list with filter information; this list contains the following entries:

    • filter_type

    • compression_level

    • bit_width

    • positive_delta

    • float_bytewidth

    • float_factor

    • float_offset


Method is_sparse()

Is an array sparse?

Usage

SOMAArrayBase$is_sparse()

Returns

TRUE if the underlying TileDB array is sparse; otherwise FALSE


Method clone()

The objects of this class are cloneable with this method.

Usage

SOMAArrayBase$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.