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.