getDiRatio: Getting the Directionality Table

Description Usage Arguments Details Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

Directionality Ratio is the displacement divided by the total length of the total path distance, where displacement is the straight line length between the start point and the endpoint of the migration trajectory,

Usage

1
getDiRatio(object)

Arguments

object

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

Details

Directionality Ratio and Directional persistence

Value

A data frame. It contains nine rows: "Cell Number", "Directionality Ratio","Mean Cumulative Directionality Ratio", "Stable Directionality Ratio", "Number of returns","Min CumDR", "Location of Min CumDR, Steps with less CumDR than DR", "Directional Persistence".

Author(s)

Salim Ghannoum salim.ghannoum@medisin.uio.no

References

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

Examples

1
2
3
rmTD <- get(data(preProcCellMig))
rmTD <- DiRatio(rmTD, export=FALSE)
head(getDiRatio(rmTD))

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