View source: R/visustat_frame.R
visustat_frame | R Documentation |
With visustat_frame
, continuous and discrete parameters can be mapped individually on color, shape and size for one timepoint.
visustat_frame(df, ...)
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 |
|
returns a ggplot2 plot-object which can be further modified
# import hiv motility tracking data data('hiv_motility') # get image files images <- hiv_motility_images() # run visustat_frame with default settings visustat_frame(hiv_motility, image=images[15], frame=15, image.normalize=1) # run visustat_frame with specified settings visustat_frame(hiv_motility, image = images[15], frame = 15, tracks = c(48, 66, 102, 108), sub.img = TRUE, sub.col = 2, sub.window= 300, par.map ='speed', par.shape ='type', points.size=2, image.normalize=1 ) # import clonogenic assay colony growth data data('clonogenic_assay') # get image files images <- clonogenic_assay_images() # run visustat_frame with default settings visustat_frame(clonogenic_assay, image=images[15], frame=15, tracks.length=0, axis.display=0) # import subcellular particle data data('subcellular_particle_dynamics') # get image files images <- subcellular_particle_dynamics_images() visustat_frame(subcellular_particle_dynamics, image=images[2], frame=2, tracks.length=0, axis.display=0, par.map='MEAN_INTENSITY') + scale_color_viridis_c(option='plasma')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.