plot3DTracks: A 3D rose-plot

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/all_functions_v8.R

Description

Plotting the trajectory data of particular cells in 3D.

Usage

1
plot3DTracks(object, VS = 3, size = 2, cells, interactive = TRUE)

Arguments

object

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

VS

A numeric value of the vertical separator between cells.

size

A numeric value of the point's size.

cells

A numeric vector containing the cell's numbers to be plotted.

interactive

logical, shall a 3D plot built in an interactive way.

Details

The 3D 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 3D rose-plot showing the tracks of particular cells.

Note

This function requires the rgl package to be installed on your system.

Author(s)

Salim Ghannoum salim.ghannoum@medisin.uio.no

References

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

Examples

1
2
3
4
5
if (Sys.info()[["sysname"]] != "Darwin") {
  # interactive shall be set to TRUE (default)
  rmTD <- get(data(preProcCellMig))
  plot3DTracks(rmTD, VS=3, size=2, cells=seq(1,5,by=1), interactive = FALSE)
}

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