'Plotting and data processing requires a unique cell ID across entire dataset. A typical dataset from CellProfiler assigns unique cell ID (TrackLabel) within each field of view (Metadata_Site).
Therefore, a unique ID is created by concatenating these two columns. If the dataset already contains a unique ID, UNcheck this box and select a single column only.',
'This option allows to interpolate NAs or missing data. Some rows in the input file might be missing because a particular time point might not had been acquired.
This option, interpolates such missing points as well as points with NAs in the measurement column. When this option is checked, the interval of time column must be provided!'
This option, interpolates such missing points as well as points with NAs in the measurement column. When this option is checked, the interval of time column must be provided!',
'Accepts CSV file with two columns: grouping, time points of stimulation.'
group.arg,# string with column name for grouping time series (typicaly cell ID)
...
...
@@ -218,9 +222,10 @@ myGgplotTraj = function(dt.arg, # data table
ylab.arg=NULL,# string with y-axis label
plotlab.arg=NULL,# string with plot label
dt.stim.arg=NULL,# plotting additional dataset; typically to indicate stimulations (not fully implemented yet, not tested!)
x.stim.arg=c('tstart','tend'),# column names in stimulation dt with x and xend parameters
y.stim.arg=c('ystart','yend'),# column names in stimulation dt with y and yend parameters
tfreq.arg=1,
ylim.arg=NULL,
stim.bar.height.arg=0.1,
stim.bar.width.arg=0.5,
aux.label1=NULL,# 1st point label; used for interactive plotting; displayed in the tooltip; typically used to display values of column holding x & y coordinates
aux.label2=NULL,
...
...
@@ -313,16 +318,19 @@ myGgplotTraj = function(dt.arg, # data table
facet_wrap(as.formula(paste("~",facet.arg)),
ncol=facet.ncol.arg,
scales="free_x")
# plot stimulation bars underneath time series
# dt.stim.arg is read separately and should contain 4 columns with