orient_topology_to_velocity: Reorients the edges of the milestone network to the cell's...

Description Usage Arguments Value

View source: R/orient.R

Description

Reorients the edges of the milestone network to the cell's RNA velocity vectors

Usage

1
2
3
4
5
6
7
orient_topology_to_velocity(
  trajectory,
  velocity = trajectory$velocity,
  expression_source = trajectory,
  expression = dynwrap::get_expression(expression_source, "expression"),
  expression_future = dynwrap::get_expression(expression_source, "expression_future")
)

Arguments

trajectory

The trajectory as created by infer_trajectory() or add_trajectory()

velocity

The velocity object as generated by [get_velocity()].

expression_source

The source of expression, can be "counts", "expression", an expression matrix, or another dataset which contains expression

expression

The normalised expression values of genes (columns) within cells (rows). This can be both a dense and sparse matrix.

expression_future

Projected expression using RNA velocity of genes (columns) within cells (rows). This can be both a dense and sparse matrix.

Value

The trajectory with oriented *milestone_network* and *progressions*


dynverse/scvelo documentation built on April 9, 2020, 3:42 a.m.