Learn R Programming

quollr (version 0.3.7)

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

Value

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

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.

Examples

Run this code
predict_emb(highd_data = scurve, model_highd = scurve_model_obj$model_highd,
model_2d = scurve_model_obj$model_2d)

Run the code above in your browser using DataLab