Learn R Programming

swaRmverse (version 0.1.0)

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

Value

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

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.

Author

Marina Papadopoulou m.papadopoulou.rug@gmail.com