compute_geodesic_entropy: Compute the geodesic entropy profile of a trajectory

Description Usage Arguments Value Examples

View source: R/SLICER.R

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

1

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

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)

SLICER documentation built on Aug. 23, 2017, 1:02 a.m.