Description Usage Arguments Value Examples

Uses the values computed by `process_distance`

to order cells.

1 | ```
cell_order(traj_graph, start)
``` |

`traj_graph` |
Nearest neighbor graph built from LLE embedding |

`start` |
Index of starting cell |

Sorted vector of cell indices

1 2 3 4 5 6 7 8 | ```
genes=1:200
cells=sample(1:500,30)
data(traj)
k=10
traj_lle = lle::lle(traj[cells,genes],m=2,k)$Y
traj_graph = conn_knn_graph(traj_lle,5)
start=1
cells_ordered = cell_order(traj_graph,start)
``` |

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

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.