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
-
parent
(Run
) -
report
(Artifact
) -
transform
(Transform
) -
created_by
(User
) -
environment
(Artifact
) -
input_artifacts
(Artifact
) -
output_artifacts
(Artifact
) -
input_collections
(Collection
) -
output_collections
(Collection
)
User
Base classes: ?Registry
Param
Base classes: ?Registry
Simple fields
-
id
(integer64
) -
name
(character
) -
dtype
(character
) -
created_at
(POSIXct
) -
updated_at
(POSIXct
)
Relational fields
-
run
(Run
) -
values
(ParamValue
) -
created_by
(User
)
ULabel
Base classes: ?Registry
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
-
run
(Run
) -
values
(FeatureValue
) -
created_by
(User
) -
feature_sets
(FeatureSet
)
Storage
Base classes: ?Registry
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
-
run
(Run
) -
storage
(Storage
) -
ulabels
(ULabel
) -
transform
(Transform
) -
created_by
(User
) -
collections
(Collection
) -
feature_sets
(FeatureSet
) -
input_of_runs
(Run
)
Transform
Base classes: ?Registry
Collection
Base classes: ?Registry
FeatureSet
Base classes: ?Registry
ParamValue
Base classes: ?Registry