graph_process_distance: Plot trajectory colored by process distance

Description Usage Arguments Value Examples

View source: R/SLICER.R

Description

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

Usage

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

Arguments

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

Value

None

Examples

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)

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