Skip to contents

This vignette provides documentation for the core module available within any LaminDB instance. Unlike traditional R packages with a fixed set of functions, LaminDB allows customization through additional schemas such as bionty.

For reference, here is the documentation on the core module for the LaminDB Python package.

Key Concepts

In LaminDB, data and metadata are organized using a system of registries and modules.

  • Registries: Centralized collections of related records, similar to database tables. Each registry stores specific types of metadata (e.g., artifacts, transforms, features).
  • Modules: Groupings of related registries that provide domain-specific functionality. The core module is fundamental to all LaminDB instances and includes essential registries for general data management. Other modules (like bionty for biological entities) can be added to extend functionality.
  • Records and Fields: A record is a single entry within a registry, analogous to a row in a database table. Each record comprises multiple fields, which are individual pieces of information within the record.

For a more comprehensive explanation of the LaminDB concepts and {laminr}’s architecture, refer to the Architecture vignette: vignette("architecture", package = "laminr").

To learn how to connect to a LaminDB instance and perform basic operations, see the Getting started vignette: vignette("laminr", package = "laminr").

Run

Base classes: ?Registry

Simple fields

  • id (integer64)
  • uid (character)
  • reference (character)
  • created_at (POSIXct)
  • started_at (POSIXct)
  • finished_at (POSIXct)
  • is_consecutive (logical)
  • reference_type (character)

Relational fields

User

Base classes: ?Registry

Simple fields

  • id (integer)
  • uid (character)
  • name (character)
  • handle (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)

Relational fields

Param

Base classes: ?Registry

Simple fields

  • id (integer64)
  • name (character)
  • dtype (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)

Relational fields

ULabel

Base classes: ?Registry

Simple fields

  • id (integer)
  • uid (character)
  • name (character)
  • reference (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • description (character)
  • reference_type (character)

Relational fields

Feature

Base classes: ?Registry

Simple fields

  • id (integer)
  • uid (character)
  • name (character)
  • unit (character)
  • dtype (character)
  • synonyms (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • description (character)

Relational fields

Storage

Base classes: ?Registry

Simple fields

  • id (integer)
  • uid (character)
  • root (character)
  • type (character)
  • region (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • description (character)
  • instance_uid (character)

Relational fields

Artifact

Base classes: ?Registry

Simple fields

  • id (integer)
  • key (character)
  • uid (character)
  • hash (character)
  • size (integer64)
  • type (character)
  • suffix (character)
  • version (character)
  • is_latest (logical)
  • n_objects (integer64)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • visibility (integer)
  • description (character)
  • n_observations (integer64)

Relational fields

Transform

Base classes: ?Registry

Simple fields

  • id (integer)
  • key (character)
  • uid (character)
  • hash (character)
  • name (character)
  • type (character)
  • version (character)
  • is_latest (logical)
  • reference (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • description (character)
  • source_code (character)
  • reference_type (character)

Relational fields

Collection

Base classes: ?Registry

Simple fields

  • id (integer)
  • uid (character)
  • hash (character)
  • name (character)
  • version (character)
  • is_latest (logical)
  • reference (character)
  • created_at (POSIXct)
  • updated_at (POSIXct)
  • visibility (integer)
  • description (character)
  • reference_type (character)

Relational fields

FeatureSet

Base classes: ?Registry

Simple fields

  • n (IntegerField)
  • id (integer)
  • uid (character)
  • hash (character)
  • name (character)
  • dtype (character)
  • registry (character)
  • created_at (POSIXct)

Relational fields

ParamValue

Base classes: ?Registry

Simple fields

  • id (integer64)
  • value (list)
  • created_at (POSIXct)

Relational fields

FeatureValue

Base classes: ?Registry

Simple fields

  • id (integer64)
  • value (list)
  • created_at (POSIXct)

Relational fields