enrich.master.list: Link information in the info.file to the coefficients...

View source: R/shapeR.R

enrich.master.listR Documentation

Link information in the info.file to the coefficients obtained from the otolith images

Description

Link the original info file to the otolith coefficients

Usage

enrich.master.list(object, folder_name = "folder", pic_name = "picname",
                   calibration = "cal", include.wavelet = TRUE, include.fourier = TRUE,
                   n.wavelet.levels = 5, n.fourier.freq = 12,...)

Arguments

object

A shapeR object

folder_name

Should contain the first letters of the area and the serie or station number of the sample, for example: "IC"

pic_name

Should contain the serie number of a given sample and fish number, for example "403_2" (not including the .jpg extension)

calibration

The name of the column where the pixels to measurement calibration is located

include.wavelet

If TRUE, the wavelet coefficient are included in the master.list

include.fourier

If TRUE then the Normalized Elliptic Fourier coefficients are included in the master.list

n.wavelet.levels

Integer saying how many levels of wavelet levels should be included

n.fourier.freq

Integer saying how many Fourier frequency levels should be included

...

Additional parameter for read.csv for reading the info.file

Value

A shapeR object with values in slots:

  • wavelet.coef

  • fourier.coef

  • shape

  • filter

  • master.list

Author(s)

Lisa Anne Libungan

Examples


data(shape)
shape = generateShapeCoefficients(shape)

shape = enrich.master.list(shape)


shapeR documentation built on Nov. 22, 2022, 1:07 a.m.