get_velocity: Calculate velocity

Description Usage Arguments

View source: R/velocity.R

Description

Calculate velocity

Usage

1
2
3
4
5
6
7
8
get_velocity(
  spliced,
  unspliced,
  mode = c("stochastic", "deterministic", "dynamical"),
  n_neighbors = 20L,
  var_names = "velocity_genes",
  layer = "spliced"
)

Arguments

spliced

Spliced expression matrix

unspliced

Unspliced expression matrix

mode

Whether to run the estimation using the deterministic or stochastic model of transcriptional dynamics.

n_neighbors

Number of neighbors to use.

var_names

Names of variables/genes to use for the fitting. Can be '"velocity_genes"', '"all"', or a set of gene names.


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