getVelocityGridCC: Calculate the velocity grid of the cell cycle.

Description Usage Arguments Details Value

View source: R/functions_RNAVelocity.R

Description

'getVelocityGridCC' places a regular grid on the two-dimensional cell cycle and calculates the average velocity for each grid point as described in La Manno et al. 2018 ('RNA velocity of single cells').

Usage

1
2
3
4
5
6
getVelocityGridCC(
  dataList,
  sigma = 1,
  numberOfGridPointsOneSide = 20,
  boolPlotResults = FALSE
)

Arguments

dataList

A Revelio object that contains information about the extrapolated state of cells.

sigma

The smoothing parameter for the Gaussian kernel.

numberOfGridPointsOneSide

The number of grid points along one side. The total grid will be a numberOfGridPointsOneSide-by-numberOfGridPointsOneSide grid.

boolPlotResults

TRUE/FALSE if the velocity grid plot should be shown.

Details

A grid is generated overlaying the two-dimensional cell cycle in DC space. For each grid point, the RNA velocity is calculated by using a Gaussian kernel as explained in La Manno et al. 2018 ('RNA velocity of single cells').

Value

Returns the same Revelio object given as input with the additional information about the RNA velocity at grid points.


danielschw188/Revelio documentation built on April 30, 2021, 1:02 p.m.