predict_emb: Predict 2-D embeddings

View source: R/prediction.R

predict_embR Documentation

Predict 2-D embeddings

Description

Given a test dataset, the centroid coordinates of hexagonal bins in 2-D and high-dimensional space, predict the 2-D embeddings for each data point in the test dataset.

Usage

predict_emb(highd_data, model_2d, model_highd)

Arguments

highd_data

The tibble contains high-dimensional data and an unique identifier.

model_2d

Centroid coordinates of hexagonal bins in 2-D space.

model_highd

Centroid coordinates of hexagonal bins in high dimensions.

Value

A tibble contains predicted 2-D embeddings, ID in the test data, and predicted hexagonal IDs.

Examples

predict_emb(highd_data = scurve, model_highd = scurve_model_obj$model_highd,
model_2d = scurve_model_obj$model_2d)


quollr documentation built on Aug. 8, 2025, 6:08 p.m.