View source: R/visualisation.R
plot_cells | R Documentation |
Plots the distribution of cells in a growth simulation.
plot_cells( object, xlim = NULL, ylim = NULL, iter = NULL, scalebar.color = "white", background.color = "black", incl.timestamp = TRUE, legend.position = "bottom", plot.title = NULL )
object |
S4-object of type |
xlim |
Numeric vector of length 2, specifying the x-range to be displayed. |
ylim |
Numeric vector of length 2, specifying the y-range to be displayed. |
iter |
Positive integer number of the simulation step/iteration to plot the cell distribution. If NULL, current distribution is displayed. |
scalebar.color |
Color of the scale bar and its annotation. Default: "white". |
background.color |
Color of the growth environment background. |
incl.timestamp |
Boolean indicating whether a time stamp should be included in the plot. Default: TRUE |
legend.position |
The position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector), as handled in ggplot2. Default: "bottom" |
plot.title |
An optional title written on top of the plot. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.