predict_emb {quollr}R 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)


[Package quollr version 0.3.7 Index]