shapeR1.0-2 package

Collection and Analysis of Otolith Shape Data

cluster.plot

Plot data clusters

detect.outline

Detect otolith outline

enrich.master.list

Link information in the info.file to the coefficients obtained from th...

estimate.outline.reconstruction

Estimate the outline reconstruction based on Fourier/wavelet compared ...

FISH

An example data file

generateShapeCoefficients

Get wavelet/Fourier coefficients and basic shape variables

getFourier

Get Fourier coefficients, filtered according to filter

getMasterlist

Get filtered master.list values

getMeasurements

Get simple shape variables, filtered according to filter

getStdFourier

Get standardized Fourier coefficients, filtered according to filter

getStdMeasurements

Get simple shape variables after standardization, filtered according t...

getStdWavelet

Get standardized wavelet coefficients, filtered according to filter

getWavelet

Get wavelet coefficients, filtered according to filter

outline.reconstruction.plot

Plot outline reconstruction

plotFourier

Mean and standard deviation of the Fourier coefficients

plotFourierShape

Mean otolith shape based on Fourier reconstruction

plotWavelet

Mean and standard deviation of the wavelet coefficients

plotWaveletShape

Mean otolith shape based on wavelet reconstruction

read.master.list

Read updated master list

remove.outline

Remove otolith outline

setFilter

Set a filter to analyze the shape data

shapeR-package

shapeR: Otholith analysis

shapeR

shapeR

show.original.with.outline

Show the extracted outline on top of the original image

show

Show a shapeR object

smoothout

Contour smoothing

stdCoefs

Standardize coefficients

write.image.with.outline

Write outlines on top of the original images for quality checking

Studies otolith shape variation among fish populations. Otoliths are calcified structures found in the inner ear of teleost fish and their shape has been known to vary among several fish populations and stocks, making them very useful in taxonomy, species identification and to study geographic variations. The package extends previously described software used for otolith shape analysis by allowing the user to automatically extract closed contour outlines from a large number of images, perform smoothing to eliminate pixel noise described in Haines and Crampton (2000) <doi:10.1111/1475-4983.00148>, choose from conducting either a Fourier or wavelet see Gençay et al (2001) <doi:10.1016/S0378-4371(00)00463-5> transform to the outlines and visualize the mean shape. The output of the package are independent Fourier or wavelet coefficients which can be directly imported into a wide range of statistical packages in R. The package might prove useful in studies of any two dimensional objects.

  • Maintainer: Lisa Anne Libungan
  • License: GPL (>= 2)
  • Last published: 2025-10-28