Description Usage Arguments Details Value Examples
View source: R/visumot_frame.R
With visumot_frame, continous and discrete parameters can be mapped individually on color, shape and size for one timepoint.
1 |
df |
dataframe of the form: |
image |
|
stack |
|
image.depth |
|
image.normalize |
|
frame |
|
tracks |
|
par.map |
|
par.shape |
|
par.display |
display option for mapping; default: |
par.max |
|
par.min |
|
par.unit |
|
crop |
|
sub.img |
|
sub.window |
|
sub.col |
|
tracks.size |
|
tracks.alpha |
|
tracks.length |
|
tracks.label |
|
tracks.label.x |
|
tracks.label.y |
|
points.size |
|
points.alpha |
|
points.stat |
|
points.shape |
|
axis.tick |
|
axis.display |
|
axis.labs |
|
unit |
|
scaling |
|
dimensions |
|
manual.z |
|
scale.bar |
|
scale.width |
|
scale.height |
|
scale.x |
|
scale.y |
|
scale.color |
|
interactive |
|
To be written...
returns a ggplot2 plot-object which can be further modified
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # import tracking data
df <- read.csv('hiv_tracking.csv')
# get image files
images <- list.files(pattern='.tif')
# run visumot_frame with default settings
visumot_frame(df, image=images[1], frame=1)
# run visumot_frame with specified settings
visumot_frame(df,
image= images[1],
frame = 1,
tracks = c(34, 125, 199, 205),
scale.bar = TRUE,
scale.bar.color = 'red',
par.map='speed',
par.shape='contact'
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.