A layout for 3D scatter plotly graphs with a time player

plotlySpots_all(Spots_df, x, y, z, timepoint, number, color)

Arguments

Spots_df

dataframe containing x,y,z coordinates, timepoints and number of spots per timepoint (for instance generated with Spots.as.dataframe)

x

x coordinate

y

y coordinate

z

z coordinate

timepoint

column of the timepoints

number

column with the number of spots per timepoint

color

continuous value used for coloring the spots

Note

Many thanks to @friep for her help on this function.