chemotaxis_index: Calculate the mean chemotaxis index of a track object.

Description Usage Arguments Value Examples

View source: R/track.R

Description

Calculate the mean chemotaxis index of a track object.

Usage

1
2
chemotaxis_index(tracks, x_var = "Location_Center_X",
  y_var = "Location_Center_Y")

Arguments

tracks

data frame with track objects

x_var

variable name / columne name used for x-coordinates

y_var

variable name / columne name used for y-coordinates

Value

chemotaxis_index

Examples

1
2
3
4
5
6
7
8
data <- tibble::tibble(
  Metadata_timePoint = c(1:5),
  Location_Center_X = c(1, 2, 3, 4, 5),
  Location_Center_Y = c(1, 1, 1, 1, 1),
  TrackObjects_Label = c(rep(1, 5))
)
 tracks <- migrationminer::displace(data,"TrackObjects_Label")
 chemotaxis_index <-  migrationminer::chemotaxis_index(tracks)

cells2numbers/neutrominer documentation built on May 3, 2019, 9:04 p.m.