fromMatrix: Create a TileDB array from an R matrix, or return an R matrix

View source: R/Matrix.R

fromMatrixR Documentation

Create a TileDB array from an R matrix, or return an R matrix

Description

The functions fromMatrix and toMatrix help in storing (and retrieving) matrices using a TileDB backend. In particular they help for matrices with explicit rownames.

Usage

fromMatrix(obj, uri, filter = "ZSTD", capacity = 10000L)

toMatrix(uri)

Arguments

obj

A sparse matrix object.

uri

A character variable with an Array URI.

filter

A character variable vector, defaults to ‘ZSTD’, for one or more filters to be applied to each attribute;

capacity

A integer value with the schema capacity, default is 10000.

Value

Null, invisibly.


tiledb documentation built on Oct. 4, 2024, 5:06 p.m.