dot-project_ortho: AUX: Orthogonal projection

Description Usage Arguments Value Author(s)

Description

Orthogonally projects samples onto trajectory

Usage

1
.project_ortho(cl, g, X)

Arguments

cl

Trajectory states; factor vector

g

Trajectory tree; igraph object

X

Lower dimensional ordination of trajectory samples

Value

A list containing the following components:

Y

Projection

X.c

Mediancentres

lambda

Projection lambda (position: inside/outside of edge)

adjmat

Adjacency matrix with sample count per edge

error

Projection error per sample

edgeId

ID of each edge

edgeId2Edge

Mapping of edge to edgeId

edge

For each sample its assigned edge

Author(s)

Daniel C. Ellwanger


dcellwanger/CellTrails documentation built on May 12, 2020, 2:01 a.m.