Learn R Programming

ggmlR (version 0.8.1)

ggml_result: 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))

Value

An object of class ggml_result.

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.