ForwardMigration: Forward Migration

Description Usage Arguments Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

The ForwardMigration function automatically generates data and plots for forward persistence and speed.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ForwardMigration(
  object,
  TimeInterval = 10,
  sfptPLOT = TRUE,
  afptPLOT = TRUE,
  sfpPLOT = TRUE,
  afpPLOT = 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.

sfptPLOT

A logical vector that allows generating individual plots of persistence time vs speed per cell. Default is TRUE.

afptPLOT

A logical vector that allows generating a plot of persistence time vs speed for all cells. Default is TRUE.

sfpPLOT

A logical vector that allows generating individual plots of angular persistence vs speed per cell. Default is TRUE.

afpPLOT

A logical vector that allows generating a plot of angular persistence vs speed 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 is stored in the ForMigtable slot.

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
7
data(WSADataset)
wsaDF <- WSADataset[seq(1,500,by=1),]
wsaTD <- CellMig(wsaDF)
wsaTD <- wsaPreProcessing(wsaTD,FrameN=55)
wsaTD <-ForwardMigration(wsaTD, TimeInterval=10, sfptPLOT=FALSE,
                         afptPLOT= FALSE,sfpPLOT= FALSE,
                         afpPLOT= FALSE, export=FALSE)

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