ggml_result: Construct a single-cell result

View source: R/sc_contracts.R

ggml_resultR Documentation

Construct a single-cell result

Description

A ggml_result is the contract object returned by the dispatch layer and consumed by the injection layer. The embedding is stored cell-by-component (cells in rows), ready to drop into reducedDim() / a Seurat reduction.

Usage

ggml_result(embedding, metadata = list(), timings = numeric(0))

Arguments

embedding

A numeric matrix, cells in rows, components in columns.

metadata

Named list (e.g. stdev, loadings, backend used).

timings

Named numeric vector of elapsed seconds per stage.

Value

An object of class ggml_result.


ggmlR documentation built on July 14, 2026, 1:08 a.m.