Learn R Programming

SLICER (version 0.2.0)

compute_geodesic_entropy: Compute the geodesic entropy profile of a trajectory

Description

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.

Usage

compute_geodesic_entropy(traj_graph, start)

Arguments

traj_graph

Nearest neighbor graph built from LLE embedding

start

Index of start cell

Value

Vector of geodesic entropy values. Item k is the geodesic entropy k steps away from the start cell.

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab