trackPeak: A tool to interactively select points to track peak...

trackPeakR Documentation

A tool to interactively select points to track peak trajectories on plots

Description

A tool to interactively select points to track peak trajectories on plots, for results from functions such as eTimeOpt, EHA, eAsm.

Usage

trackPeak(dat,threshold=NULL,pick=T,minVal=NULL,maxVal=NULL,dmin=NULL,dmax=NULL,
          xmin=NULL,xmax=NULL,ymin=NULL,ymax=NULL,h=6,w=4,ydir=-1,
          palette=6,ncolors=100,genplot=T,verbose=T)

Arguments

dat

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.

threshold

Threshold level for filtering peaks. By default all peak maxima reported.

pick

Pick the peaks of interest using a graphical interface? (T or F). Only activated if genplot=T.

minVal

Minimum parameter value for analysis (e.g., frequency, sedimentation rate, etc.).

maxVal

Maximum parameter value for analysis (e.g., frequency, sedimentation rate, etc.).

dmin

Minimum depth/height/time for analysis. NOT ACTIVATED YET!

dmax

Maximum depth/height/time for analysis. NOT ACTIVATED YET!

xmin

Minimum parameter value for PLOTTING.

xmax

Maximum parameter value for PLOTTING.

ymin

Minimum depth/height/time for PLOTTING.

ymax

Maximum depth/height/time for PLOTTING.

h

Height of plot in inches.

w

Width of plot in inches.

ydir

Direction for y-axis in plots (depth or height). -1 = values increase downwards (slower plotting!), 1 = values increase upwards.

palette

What color palette would you like to use? (1) rainbow, (2) grayscale, (3) blue, (4) red, (5) blue-white-red, (6) viridis

ncolors

Number of colors to use in plot.

genplot

Generate summary plots? (T or F)

verbose

Verbose output? (T or F)

See Also

eha and eTimeOpt


astrochron documentation built on Aug. 26, 2023, 5:07 p.m.