A tool to interactively trace peak trajectories on plots, for results from such functions as eTimeOpt, EHA, eAsm.
tracePeak(dat,color=2,h=6,w=4,xmin=NULL,xmax=NULL,ymin=NULL,ymax=NULL,
ydir=-1,palette=6,ncolors=100,path=1)
Data frame with results to evaluate. It must have the following format: column 1=parameter to track (e.g., frequency, sedimentation rate, etc.; x-axis of plot); remaining columns (2 to n)=parameter to evaluate for peak identification (color on plot); titles for columns 2 to n must be the location (depth/height/time; y-axis of plot). Note that this format is ouput by functions eha, eTimeOpt, eAsm.
Line color for tracing. 1 = transparent black; 2 = transparent white; 3 = transparent yellow
Height of plot in inches.
Width of plot in inches.
Minimum parameter value to plot.
Maximum parameter value to plot.
Minimum depth/height/time to plot.
Maximum depth/height/time to plot.
Direction for y-axis in plots (depth/height/time). -1 = values increase downwards, 1 = values increase upwards.
What color palette would you like to use? (1) rainbow, (2) grayscale, (3) blue, (4) red, (5) blue-white-red, (6) viridis
Number of colors to use in plot.
How do you want to represent the path?: 1=lines and points; 2=lines; 3=points
eha
and eTimeOpt