MigrationStats: Compute Cell Migration Statistics

Description Usage Arguments Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

Calculate the statistics from X/Y positional data obtained from cell tracks

Usage

1
MigrationStats(tracks, interval_time, pixel_micron)

Arguments

tracks

data.frame with cell tracks information

interval_time

integer, time interval between two successive frames were taken

pixel_micron

integer, image resolution, i.e. number of pixels per micron

Value

list of stats calculated for the cell tracks. Info include variables of speed, distance, euclidean displacement, persistence, angular displacement, yFMI, xFMI, y-displacement, x-displacement and frames

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/cellmigration/ https://www.mathworks.com/matlabcentral/fileexchange/60349-fasttracks

Examples

1
2
3
4
5
x0 <- cbind(c(30, 35, 1, 5, 6, 7, 50, 55, 56, 58),
            c(29, 37, 2, 7, 4, 9, 40, 50, 59, 49),
            c( 1,  2, 1, 2, 3, 4,  1,  2,  3,  4),
            c( 1,  1, 2, 2, 2, 2,  3,  3,  3,  3))
cellmigRation:::MigrationStats(x0, 10, 10)

ocbe-uio/cellmigRation documentation built on Dec. 16, 2021, 10:59 p.m.