VeAutoCor: Velocity AutoCorrelation

Description Usage Arguments Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

The VeAutoCor function automatically compute the changes in both speed and direction across several sequantial time intervals.

Usage

1
2
3
4
5
6
7
8
9
VeAutoCor(
  object,
  TimeInterval = 10,
  sLAG = 0.25,
  sPLOT = TRUE,
  aPLOT = TRUE,
  export = FALSE,
  ExpName = NULL
)

Arguments

object

CellMig class object, which is a list of data frames resulted from the PreProcessing.

TimeInterval

A numeric value of the time elapsed between successive frames in the time-lapse stack.

sLAG

A numeric value to be used to get the number of lags for the slope fitting. Default is 0.25, which represents 25 percent of the steps.

sPLOT

A logical vector that allows generating individual plots showing the velocity across several sequantial time intervals. Default is TRUE.

aPLOT

A logical vector that allows generating a plot showing the velocity across several sequantial time intervals of all cells. Default is TRUE.

export

if 'TRUE' (default), exports function output to CSV file

ExpName

string, name of the experiment. Can be NULL

Value

Plots and a data frame, which contains six rows: "Cell Number", "Velocity AutoCorrelation (lag=1)", "2nd normalized Velocity AutoCorrelation", "Intercept of VA quadratic model", "Mean Velocity AutoCorrelation (all lags)", "Mean |Acceleration|" and "Average Speed".

Author(s)

Salim Ghannoum salim.ghannoum@medisin.uio.no

References

https://www.data-pulse.com/dev_site/cellmigration/

Examples

1
2
3
4
5
6
data(TrajectoryDataset)
rmDF=TrajectoryDataset[1:300,]
rmTD <- CellMig(rmDF)
rmTD <- rmPreProcessing(rmTD,FrameN=55)
rmTD <- VeAutoCor(rmTD, TimeInterval=10, sLAG=0.25, sPLOT=FALSE,
                  aPLOT=FALSE, export=FALSE)

ocbe-uio/CellMigRation documentation built on Dec. 26, 2021, 10:19 p.m.