dssUwot: Call selected functions from the package uwot

View source: R/dssUwot.R

dssUwotR Documentation

Call selected functions from the package uwot

Description

Only the functions 'umap' and 'umap_transform' are implemented. The function 'umap' will only return the fgraph if specified in 'return_extra'.

Usage

dssUwot(func, X, model = NULL, async = TRUE, datasources = NULL, ...)

Arguments

func

a character, the name of the function to call

X

a character, the name of the dataframe containing the input data. The non-numeric columns are automatically stripped of before running the function.

model

a umap model, used only for the function umap_transform. This can be: a model in the current (local) session, the path to a saved model (with uwot::save_model()) on the local disk or the path to a saved model on the server storage

async

a logical, see datashield.aggregate

datasources

a list of opal objects obtained after logging into the opal servers (see datashield.login)

...

further arguments to be passed to the function (see the documentation of the uwot package). The parameters ret_nn and ret_extra are not taken into consideration as they are potentially disclosive.

Value

a umap model (see the documentation for the respective functions)


sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.