Know more

Our use of cookies

Cookies are a set of data stored on a user’s device when the user browses a web site. The data is in a file containing an ID number, the name of the server which deposited it and, in some cases, an expiry date. We use cookies to record information about your visit, language of preference, and other parameters on the site in order to optimise your next visit and make the site even more useful to you.

To improve your experience, we use cookies to store certain browsing information and provide secure navigation, and to collect statistics with a view to improve the site’s features. For a complete list of the cookies we use, download “Ghostery”, a free plug-in for browsers which can detect, and, in some cases, block cookies.

Ghostery is available here for free:

You can also visit the CNIL web site for instructions on how to configure your browser to manage cookie storage on your device.

In the case of third-party advertising cookies, you can also visit the following site:, offered by digital advertising professionals within the European Digital Advertising Alliance (EDAA). From the site, you can deny or accept the cookies used by advertising professionals who are members.

It is also possible to block certain third-party cookies directly via publishers:

Cookie type

Means of blocking

Analytical and performance cookies

Google Analytics

Targeted advertising cookies


The following types of cookies may be used on our websites:

Mandatory cookies

Functional cookies

Social media and advertising cookies

These cookies are needed to ensure the proper functioning of the site and cannot be disabled. They help ensure a secure connection and the basic availability of our website.

These cookies allow us to analyse site use in order to measure and optimise performance. They allow us to store your sign-in information and display the different components of our website in a more coherent way.

These cookies are used by advertising agencies such as Google and by social media sites such as LinkedIn and Facebook. Among other things, they allow pages to be shared on social media, the posting of comments, and the publication (on our site or elsewhere) of ads that reflect your centres of interest.

Our EZPublish content management system (CMS) uses CAS and PHP session cookies and the New Relic cookie for monitoring purposes (IP, response times).

These cookies are deleted at the end of the browsing session (when you log off or close your browser window)

Our EZPublish content management system (CMS) uses the XiTi cookie to measure traffic. Our service provider is AT Internet. This company stores data (IPs, date and time of access, length of the visit and pages viewed) for six months.

Our EZPublish content management system (CMS) does not use this type of cookie.

For more information about the cookies we use, contact INRA’s Data Protection Officer by email at or by post at:

24, chemin de Borde Rouge –Auzeville – CS52627
31326 Castanet Tolosan CEDEX - France

Dernière mise à jour : Mai 2018

Menu Logo Principal


Aquapôle INRA

Inra Bordeaux-Aquitaine
Quartier Ibarron
64310 Saint-Pée-sur-Nivelle

tél : +33 (0) 5 59 51 59 51
fax : +33 (0) 5 59 54 51 52


Logo tampo
Tools for the Analysis of Microchemical Profiles from Otoliths

Matthias Vignon

UMR 1224 Ecologie Comportementale et Biologie des Populations de Poissons
64310 Saint Pée sur Nivelle

Tél : +33 5 59 57 44 48
Email : /

What is Tampo ?


Tampo is a R package that facilitates analyzing microchemical profiles (both mono- and multielemental composition) from fish otoliths using a recursive partitioning approach (zoning algorithm) that can accommodate some form of user-specified constraints. It also allows extracting environmental histories from otolith based on typical elemental/isotopic sequences generated using methods such as LA-ICPMS. Microchemical analysis is widely used in fisheries management and fisheries biology to identify stocks and characterize fish movements but the provided functions may be considered from the more general perspective of the chronological clustering of multivariate time series using piecewise constant regressions.

The current version of the package is mostly dedicated to applying zoning algorithm on (multivariate) time series based on a recursive partitioning approach. Specific functions are also provided to get insights into the multivariate partitioning of the data.

Tampo was recently archived on CRAN due to its dependency to another package ('mvpart') which is no longer maintained. For Windows machines, one may try to automatically install the two packages using the "URLinstall.R" script. Alternatively, if it don't work, one can download the two files from the links mentioned in the script into your current directory and install them manually using "Packages -> Install package(s) from local zip files" from menu bar. In this case, you just need to install 'mvpart' first and 'Tampo' second. For other OS machines, source tarballs are available at :
– mvpart:
– Tampo:


The latest version should be found at the CRAN web site

Tampo and its supporting document are also available from this web site:

Basic usage and examples


While the analysis of microchemical profiles from otoliths is of primary importance in fishery management and population ecology, the traditional approaches mostly fail to capture the multivariate nature of structural change in time series data. Tampo proposes a simple approach aiming at coping with the multi-elemental compositional otolith transect in a multi-scale quantitative manner. More specifically, the proposed recursive partitioning method try to bias the chronological clustering process by accommodating some form of user-specified constraints based on both intra- and inter-groups characteristics. This allows researchers to focus on biologically relevant information (i.e. the one researcher look for and can interpret). Chronological clustering based on recursive partition is easily interpretable and directly applicable to detection of hidden discontinuities in any multivariate time series. In a multi-proxy context, it also provides a powerful exploratory tool for assessing the relative importance of cross-correlated variables in structuring the environmental histories, as well as the congruency between variables.

The partition process can perform i) using an arbitrary number of clusters, ii) automatically using an optimization criteria based on cross-validation error, iii) in a constrained manner that accommodate specific user-defined criteria.


Fig 2. Univariate regression trees with different user-specified constraints


Fig.3 Algorithm applied to a multivariate profile


Fig.4 Profiles ordination for a multielemental isotopic signal


Fig.5 Temporal congruency among elements/isotopes