Skip to contents

Adds NDArray-specific functionality to the SOMAArrayBase class. (lifecycle: experimental)

Methods

Inherited methods


Method create()

Create a SOMA NDArray named with the URI. (lifecycle: experimental)

Usage

SOMANDArrayBase$create(
  type,
  shape,
  platform_config = NULL,
  internal_use_only = NULL
)

Arguments

type

an Arrow type defining the type of each element in the array.

shape

a vector of integers defining the shape of the array.

platform_config

A platform configuration object

internal_use_only

Character value to signal this is a 'permitted' call, as create() is considered internal and should not be called directly.


Method clone()

The objects of this class are cloneable with this method.

Usage

SOMANDArrayBase$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.