Overview

This is the R implementation of the SOMA API specification.

Installation

Release packages

TileDB-SOMA releases can be installed from R-universe, which serves macOS binaries and the source package for other Unix-like platforms.

install.packages('tiledbsoma', repos = c('https://tiledb-inc.r-universe.dev',
                                         'https://cloud.r-project.org'))

Installing from source on Unix-like platforms requires cmake, git, and a recent-enough C++ compiler (g++ version 10.* or above).

Alternatively, tiledbsoma can be installed directly from Conda, which serves binaries for multiple architectures.

mamba install -c conda-forge -c tiledb r-tiledbsoma

Note, we're using mamba here as a drop-in replacement for conda to accelerate the install process.

From source

To install the very latest tiledbsoma development version (our main branch), use remotes::install_github():

remotes::install_github("https://github.com/single-cell-data/TileDB-SOMA", subdir = "apis/r")

A note about the fmt and spdlog packages:

Requirements

Development setup

To set up and install from a local clone of this git repository:

Once installed successfully, the package sources can be edited and re-installed iteratively. The optional clean step ensures a full rebuild, and the optional copy of libtiledbsoma ensures it is updated too.

Status

Please see https://github.com/single-cell-data/TileDB-SOMA/issues.

Information for developers

Please see the TileDB-SOMA wiki.

This main branch implements the updated specification. Please also see the main-old branch for an implementation of the original specification.