cell_order: Sort cells according to their progress through a process

Description Usage Arguments Value Examples

View source: R/SLICER.R

Description

Uses the values computed by process_distance to order cells.

Usage

1
cell_order(traj_graph, start)

Arguments

traj_graph

Nearest neighbor graph built from LLE embedding

start

Index of starting cell

Value

Sorted vector of cell indices

Examples

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.