Description Usage Arguments Value Examples
The geodesic entropy of a trajectory can be used to detect
branches. This function computes geodesic entropy and
produces a plot that can be used to visually confirm
the branches detected by assign_branches
.
1 | compute_geodesic_entropy(traj_graph, start)
|
traj_graph |
Nearest neighbor graph built from LLE embedding |
start |
Index of start cell |
Vector of geodesic entropy values. Item k is the geodesic entropy k steps away from the start cell.
1 2 3 4 5 6 7 | ## Not run:
traj_lle = lle(traj[,genes],m=2,k)$Y
traj_graph = conn_knn_graph(traj_lle,5)
start=1
compute_geodesic_entropy(traj_graph,start)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.