plotVelocityOnAveragedTrajectory: Calculate the velocity along an averaged trajectory.

Description Usage Arguments Details Value

View source: R/functions_RNAVelocity.R

Description

'getVelocityOnAveragedTrajectory' places an average trajectory through the data cloud and calculates the average velocity for each anchor point as described in La Manno et al. 2018 ('RNA velocity of single cells').

Usage

1
plotVelocityOnAveragedTrajectory(dataList, numberOfAnchors = 10)

Arguments

dataList

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

numberOfAnchors

The number of anchor points used for the spline of the averaged trajectory. This also defines the points at which RNA velocity will be calculated.

Details

A trajectory is placed through the data cloud as a spline in polar coordinates with a number of anchor points specified by the user. For each anchor 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.


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