Description Usage Arguments Value Examples

This function plots the embedding produced by LLE, coloring cells by their progress through a process.

1 | ```
graph_process_distance(traj_graph, embedding, start, cell_symbols = 16)
``` |

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

`embedding` |
Low-dimensional LLE embedding of cells |

`start` |
Index of start cell |

`cell_symbols` |
Symbols to use for plotting each cell |

None

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

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.