plotSampleTracks: A 2D rose-plot of sample cells

Description Usage Arguments Details Value Author(s) References Examples

View source: R/all_functions_v8.R

Description

Plotting the trajectory data of some cells.

Usage

1
2
3
4
5
6
7
8
plotSampleTracks(
  object,
  Type = "l",
  celNum = 35,
  FixedField = TRUE,
  export = FALSE,
  ExpName = NULL
)

Arguments

object

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

Type

has to be one of the following: c("p", "l", "b", "o")

celNum

A numeric value showing the desired number of cells to be plotted.

FixedField

logical(1) Allows generating a plot with fixed field 800um x 800um. Default is TRUE.

export

if 'TRUE' (default), exports plot to JPG file "p": Points; "l": Lines; "b": Both; "o": Both "overplotted".

ExpName

string, name of the experiment. Can be NULL

Details

The visualization shows centered trajectories where the starting point of each track is located at the origin of the coordinate system (X=0,Y=0).

Value

A 2D rose-plot showing the tracks of sample cells selected randomly based on the desired number of cells selected by the user.

Author(s)

Salim Ghannoum salim.ghannoum@medisin.uio.no

References

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

Examples

1
2
3
preProcCellMig <- get(data(preProcCellMig))
plotSampleTracks(preProcCellMig, Type="l", FixedField=TRUE,
                 celNum=5, export=FALSE, ExpName = NULL)

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