infer_initial_trajectory infers an initial trajectory for
infer_trajectory by clustering the points and calculating
the shortest path through cluster centers. The shortest path takes into account
the euclidean distance between cluster centers, and the density between those two
A numeric matrix or a data frame containing the coordinates of samples.
The number of clusters
the initial trajectory obtained by this method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.