Description Usage Arguments Examples
Traj
builds a Traj object.
1 2 3 4 |
trajectory |
A vector of unique trajectory identifiers. |
frame |
A vector of integers corresponding to the image frame of each data point. |
time |
An integer corresponding to time interval between frames. |
time_unit |
Name of the unit of time (e.g "second", "s", "min"). |
x |
A numeric vector corresponding to the 'x' coordinates of each data point. |
y |
A numeric vector corresponding to the 'y' coordinates of each data point. |
dim_x |
An integer representing the image width (usually in pixels) |
dim_y |
An integer representing the image height (usually in pixels) |
pixel_size |
An integer representing the pixel size (usually in microns or nanometers) |
pixel_unit |
Character(s) for the unit of pixel (e.g. "nanometer", "nm", "micrometer"). |
... |
1 2 3 4 5 6 7 8 9 10 11 | data(coordinates)
traj <- Traj(trajectory = coordinates$Trajectory,
frame = coordinates$Frame,
time = 0.186,
time_unit = "s",
x = coordinates$x,
y = coordinates$y,
dim_x = 512,
dim_y = 512,
pixel_size = 80.0886,
pixel_unit = "nanometer")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.