Description Usage Arguments Details Value Note Author(s) References Examples
View source: R/all_functions_v8.R
Plotting the trajectory data of particular cells in 3D.
1 | plot3DTracks(object, VS = 3, size = 2, cells, interactive = TRUE)
|
object |
|
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. |
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).
A 3D rose-plot showing the tracks of particular cells.
This function requires the rgl
package to be installed on your
system.
Salim Ghannoum salim.ghannoum@medisin.uio.no
https://www.data-pulse.com/dev_site/cellmigration/
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.