do_tsne {swaRmverse}R Documentation

Performs t-SNE

Description

This function calculates the coordinates of each event in the t-SNE space.

Usage

do_tsne(df, tsne_rand_seed, tsne_perplexity)

Arguments

df

A dataframe with the metrics of collective motion per event.

tsne_rand_seed

Random seed to be able to reproduce the t-SNE analysis.

tsne_perplexity

Perplexity parameter for tsne. Usually between 10-50.

Value

A dataframe with X and Y coordinates per event in the t-SNE space.

Author(s)

Marina Papadopoulou m.papadopoulou.rug@gmail.com


[Package swaRmverse version 0.1.1 Index]