DiAutoCor: Direction AutoCorrelation

Description Usage Arguments Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

The DiAutoCor function automatically compute the angular persistence across several sequantial time intervals.

Usage

1
2
3
4
5
6
7
8
9
DiAutoCor(
  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 angular persistence across several sequantial time intervals. Default is TRUE.

aPLOT

A logical vector that allows generating a plot showing the angular persistence 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

An CellMig class Object with a data frame and plots. The data frame, which contains six rows: "Cell Number", "Angular Persistence", "Intercept of DA quadratic model", "Mean Direction AutoCorrelation (all lags)", "Stable Direction AutoCorrelation through the track" and "Difference between Mean DA and Intercept DA".

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[seq(1,220,by=1),]
rmTD <- CellMig(rmDF)
rmTD <- rmPreProcessing(rmTD,FrameN=55)
rmTD <- DiAutoCor(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.