Description Usage Arguments Value

View source: R/trajectory_inference.R

`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
points.

1 | ```
infer_initial_trajectory(space, k)
``` |

`space` |
A numeric matrix or a data frame containing the coordinates of samples. |

`k` |
The number of clusters |

the initial trajectory obtained by this method

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.