Project

TropFishR

Goal: Development of a modern and user-friendly toolbox for the analysis of tropical fisheries. The package is being developed in the statistical language R and will be particularly helpful for data poor conditions, e.g. analysis of length frequency data.

Methods: R Programming, C++ Programming

Date: 1 October 2015

Updates
0 new
26
Recommendations
7 new
120
Followers
1 new
232
Reads
90 new
4447

Project log

Tobias Mildenberger
added an update
In cooperation between the Leibniz Centre for Tropical Marine Research (ZMT) Bremen, the Food and Agriculture Organization of the United Nations (FAO), the National Institute of Aquatic Resources in Denmark (DTU Aqua) and the Institute of Marine Sciences (IMS) Zanzibar, a two-week training course on the assessment of stock status and the estimation of the Sustainable Development Goal 14.4.1 Indicator (the proportion of fish stocks within biologically sustainable levels) will be held at the Institute of Marine Sciences (IMS) in Zanzibar from the 2nd to 14th of March 2020.
 
Tobias Mildenberger
  • 22.73
  • Technical University of Denmark
Suman Barua
  • 2.96
  • Marine Fisheries Office
A beautiful tool undoubtedly.
 
Tobias Mildenberger
added a research item
Performance evaluation of data-limited, length-based methods is instrumental in determining and quantifying their accuracy under various scenarios and in providing guidance about model applicability and limitations. We conducted a simulation-estimation analysis to compare the performance of four length-based stock assessment methods: length-based Thompson and Bell (TB), length-based spawning potential ratio (LBSPR), length-based integrated mixed effects (LIME), and length-based risk analysis (LBRA), under varying life history, exploitation status, and recruitment error scenarios. Across all scenarios, TB and LBSPR were the most consistent and accurate assessment methods. LBRA is highly biased, but precautionary, and LIME is more suitable for assessments with time-series longer than a year. All methods have difficulties when assessing short-lived species. The methods are less accurate in estimating the degree of recruitment overfishing when the stocks are severely overexploited, and inconsistent in determining growth overfishing when the stocks are underexploited. Increased recruitment error reduces precision but can decrease bias in estimations. This study highlights the importance of quantifying the accuracy of stock assessment methods and testing methods under different scenarios to determine their strengths and weaknesses and provides guidance on which methods to employ in various situations.
Tobias Mildenberger
added 2 research items
The determination of rates of body growth is the first step in many aquatic population studies and fisheries stock assessments. ELEFAN (Electronic LEngth Frequency ANalysis) is a widely used method to fit a growth curve to length-frequency distribution (LFD) data. However, up to now, it was not possible to assess its accuracy or the uncertainty inherent of this method, or to obtain confidence intervals for growth parameters within an unconstrained search space. In this study, experiments were conducted to assess the precision and accuracy of bootstrapped and single-fit ELEFAN-based curve fitting methods, using synthetic LFDs with known input parameters and a real data set of Abra alba shell lengths. The comparison of several types of bootstrap experiments and their outputs (95% confidence intervals and confidence contour plots) provided a first glimpse into the accuracy of modern ELEFAN-based fit methods. The main components of uncertainty (precision and reproducibility of fit algorithms, seed effects, sample size and matrix information content) could be assessed from partial bootstraps. Uncertainty was mainly determined by LFD matrix size (months x size bins), total number of non-zero bins and the sampling of large-sized individuals. A new pseudo-R² index for the goodness-of-fit of von Bertalanffy growth models to LFD data is proposed. For a large, perfect synthetic data set, pseudo-R²Phi’ was very high (88 to 100%), indicating an excellent fit of the growth model. The small Abra alba data set showed a low pseudo-R²Phi’, from to 54% to 68%, indicating the need for more samples (length measurements) and a larger LFD data matrix. New, robust, bootstrap-based methods for curve fitting are presented and discussed. This study demonstrates a promising new path for length-based analyses of growth and mortality in natural populations, which are the basis for a suite of methods that are included in the new fishboot package.
Small-scale fisheries (SSF) contribute to approximately half of the total landings of tuna and tuna-like species in the Indian Ocean and are an important form of employment and source of protein. Research into the properties and dynamics of SSF in East Africa are important for the assessment and sustainable management of fish stocks,however, detailed fisheries data are often inadequate or absent. Fisheries-dependent data on driftnet fisheries in Zanzibar, Tanzania, was collected during the northeast monsoon seasons in 2014 and 2015. The data describes the properties of the driftnet fisheries and allows for comparisons of the length composition of the landings of the SSF with large-scale industrial fisheries (IF) fishing in Tanzania’s Exclusive Economic Zone (EEZ). This data also facilitates the calculation of stock indicators for the five most abundant tuna and tuna-like species landed in Zanzibar.Results show that the two fisheries (SSF and IF) exploit the same stocks, and landings are representative of a similar length composition, while operating in different parts of Tanzania’s EEZ. High exploitation rates, above reference levels for all species were calculated, in agreement with official assessments by the IOTC, and suggest that calls for the expansion of the SSF should be reconsidered. The assessment and management of straddling stocks are dis-cussed, as well as solutions to challenges faced by local observer programmes.
Tobias Mildenberger
added an update
TropFishR developers are currently working on the implementation of a fully click-based version of TropFishR for everyone who hasn't mastered R yet. The app will also offer great possibilities to visualize and explore your data. A teaser attached, more coming soon!
 
Tobias Mildenberger
added an update
The TropFishR package on CRAN has been updated (to v1.6.1). Please be aware of the following important change:
The LBB model has been removed from the package. The inclusion of this model caused some installation problems for some users and on servers. The model can still be used by downloading Dr. Froese's R scripts directly from here: http://oceanrep.geomar.de/43182/ or install the previous version of TropFishR with:
library(devtools)
install_github("tokami/TropFishR", ref = "LBB")
Another CRAN package update with new functionalities is going to follow soon! New package version: https://cran.r-project.org/web/packages/TropFishR/index.html
 
Tobias Mildenberger
added an update
- new publication demonstrating the advantage and use of the bootstrapped ELEFAN routine
- updated package version on CRAN with new functions and improved user-friendliness
- Click-based interface for TropFishR (does not require knowledge of R any longer)
- new methodology for the estimation of uncertainties and confidence levels for all parameters of the length-based fish stock assessments with TropFishR
Stay tuned :)
 
Tobias Mildenberger
added a research item
Small-scale multi-gear fisheries contribute half of global fisheries landings but are generally data-poor, hindering their assessment and management. Aiming to overcome various existing challenges, we used two complementary length-based approaches to assess the status of three main target species in the small-scale fisheries of Eastern Pacific countries: Spotted rose snapper Lutjanus guttatus, Pacific sierra Scomberomorus sierra, and Pacific bearded Brotula clarkae, using length-frequency catch data (LFCD) from the Colombian Pacific coast. Two data sources – official governmental data and community-based monitoring from a non-government organization – were used to estimate two sets of stock indicators: one based on the derivation of growth and mortality parameters from modal progression, catch curve analysis and a yield-per-recruit model using TropFishR; and the second based on the relative contribution of fish sizes with regard to proposed reference values for healthy stocks. Growth estimates differed between data sources and exhibited large confidence intervals, indicating an overall high uncertainty underlying the LFCD revealed through a novel bootstrapped approach. Estimated values of stock indicators, exploitation rate, fishing mortality and size-proportions converged in suggesting a state of heavy to over-exploitation for the three assessed species, although differences were observed among data sources that we attribute mainly to fisheries selectivity and sampling design. In order to improve future assessments of stocks in multi-gear and data-poor contexts, estimations of fleet-specific selectivity should be used to reconstruct LFCD prior to analyses. Additionally, sampling design should be based on fishing effort distribution among gears and areas and, when feasible, fishery-independent data on stock conditions should be included.
Tobias Mildenberger
added a research item
The determination of rates of body growth is the first step in many aquatic population studies and fisheries stock assessments. ELEFAN (Electronic LEngth Frequency ANalysis) is a widely used method to fit a growth curve to length-frequency distribution (LFD) data. However, up to now, it was not possible to assess its accuracy or the uncertainty inherent of this method, or to obtain confidence intervals for growth parameters within an unconstrained search space. In this study, experiments were conducted to assess the precision and accuracy of bootstrapped and single-fit ELEFAN-based curve fitting methods, using synthetic LFDs with known input parameters and a real data set of Abra alba shell lengths. The comparison of several types of bootstrap experiments and their outputs (95% confidence intervals and confidence contour plots) provided a first glimpse into the accuracy of modern ELEFAN-based fit methods. The main components of uncertainty (precision and reproducibility of fit algorithms, seed effects, sample size and matrix information content) could be assessed from partial bootstraps. Uncertainty was mainly determined by LFD matrix size, total number of non-zero bins and the sampling of large-sized individuals. A new pseudo-Rsquared index for the goodness-of-fit of VBGF models to LFD data is proposed. For a large, perfect synthetic data set, pseudo-RsquaredPhi was very high (88 to 100%), indicating an excellent fit of the VBGF model. The small Abra alba data set showed a low pseudo-RsquaredPhi, from to 54% to 68%, indicating the need for more samples and a larger LFD data matrix. New, robust, bootstrap-based methods for curve fitting are presented and discussed. This study demonstrates a promising new path for length-based analyses of growth and mortality in natural populations, which are the basis for a new suite of methods that are included in the new fishboot package.
Tobias Mildenberger
added an update
TropFishR v1.6 is now on CRAN, it includes the Length-based Bayesian biomass estimator method (LBB) recently developed by Froese et al. (2018): https://cran.r-project.org/web/packages/TropFishR/index.html
Please note that you need to download and install the JAGS software (Just another Gibs Sampler), before being able to install TropFishR from CRAN! You can download it from here: http://sourceforge.net/projects/mcmc-jags/files/JAGS
LBB allows to estimate the asymptotic length (Linf), length at first capture (Lc), relative natural mortality (M/K), relative fishing mortality (F/M) , and depletion or current exploited biomass relative to unexploited biomass (B/B0) from length-frequency data. The corresponding publication will be available soon and a link will be added in the comments below.
A user guide for LBB within TropFishR is available here: https://cran.r-project.org/web/packages/TropFishR/vignettes/LBBmanual.html
Besides LBB, only minor updates have been made to the functions in TropFishR. All changes are described here: https://rawgit.com/tokami/TropFishR/master/inst/doc/news.html
 
Marc H. Taylor
added an update
TropFishR 1.2.1 has now been released to CRAN. The version includes a new tutorial outlining the use of the available ELEFAN functions (https://cran.r-project.org/web/packages/TropFishR/vignettes/Using_TropFishR_ELEFAN_functions.html). Other small changes include fixes to the way ELEFAN results are added to the length-frequency object (for details, see change log: https://github.com/tokami/TropFishR/blob/master/inst/doc/news.md)
 
Tobias Mildenberger
added an update
TropFishR version 1.2 has been published on CRAN. Beside the corrections of minor bugs, the new package version allows comparing LFQ data from different fleets and the ELEFAN functions are 4 times faster as before and more stable on Windows. Check out all version updates at https://rawgit.com/tokami/TropFishR/master/inst/doc/news.html.
 
Tobias Mildenberger
added an update
A short vignette has been added to TropFishR on GitHub. It contains some background to length frequency data and illustrates how to organise your file with the raw length measurements, how to import it into R and how to trim your data for the use with TropFishR. Check it out here (or attached pdf): https://rawgit.com/tokami/TropFishR/smallImpros/inst/doc/lfqData.html
Furthermore, we are working on new features and the user-friendliness of the package. Stay tuned for the upcoming CRAN release.
 
Marc H. Taylor
added an update
The ELEFAN function has been updated with a new search method (method = "cross") for scoring von Bertalanffy growth function (VBGF) parameters as fit to length-frequency data. This option replicates the approach of FiSAT II, which allows users to define a specific length-frequency bin that must be crossed by the VBGF during a "K-scan" (varying parameter K) or "Response surface analysis" (varying parameters Linf and K).
Due to faster computation time, the approach may be helpful for initial explorations of the parameter space, which can be followed by more refined searches using a confined range for parameters; e.g. ELEFAN (method = "optimise"), ELEFAN_SA, or ELEFAN_GA.
The update is presently available in the development version of TropFishR (https://github.com/tokami/TropFishR) and will be in the CRAN version at the next release. Please refer to the help file for examples of use (?ELEFAN).
 
Tobias Mildenberger
added an update
New vignette with a demonstration of data arrangement and data import coming soon!
 
Marc H. Taylor
added a research item
Electronic length frequency analysis (ELEFAN) is a system of stock assessment methods using length-frequency (LFQ) data. One step is the estimation of growth from the progression of LFQ modes through time using the von Bertalanffy growth function (VBGF). The option to fit a seasonally oscillating VBGF (soVBGF) requires a more intensive search due to two additional parameters. This work describes the implementation of two optimisation approaches (“simulated annealing” and “genetic algorithm”) for growth function fitting using the open-source software “R.” Using a generated LFQ data set with known values, the accuracy of the soVBGF parameter estimation was evaluated. The results indicate that both optimisation approaches are capable of finding high scoring solutions, yet settings regarding the initial restructuring process for LFQ bin scoring (i.e. “moving average,”) and the fixing of the asymptotic length parameter (L∞) are found to have significant effects on parameter estimation error. An outlook provides context as to the significance of the R-based implementation for further testing and development, as well as the general relevance of the method for data-limited stock assessment.
Tobias Mildenberger
added an update
Please note that the CRAN version was updated to version 1.1.4.
 
Marc H. Taylor
added 2 research items
The R package TropFishR is a new analysis toolbox compiling single-species stock assessment methods specifically designed for data-limited fisheries analysis using length-frequency data. It includes methods for (i) estimating biological stock characteristics such as growth and mortality parameters, (ii) exploring technical aspects of the fisheries (e.g. exploitation rate and selectivity characteristics), (iii) assessing size and composition of a fish stock by means of virtual population analysis (VPA), and (iv) assessing stock status with yield prediction and production models. This paper introduces the package and demonstrates the functionality of a selection of its core methods. TropFishR modernises traditional stock assessment methods by easing application and development and by combining it with advanced statistical approaches. This article is protected by copyright. All rights reserved.
Tobias Mildenberger
added an update
We are happy to inform you that a publication introducing TropFishR and presenting a few examples was published online in Methods of Ecology and Evolution (http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12791/full).
 
Tobias Mildenberger
added an update
A new version of our working paper is available on Figshare:
Mildenberger, Tobias; Taylor, Marc (2017): TropFishR: an R package for fisheries analysis with length-frequency data. figshare.
 
Tobias Mildenberger
added an update
New TropFishR version 1.1 available on CRAN! New version contains a vignette, describing a tutorial of single-species fish stock assessment with length-frequency data using TropFishR, functions allow greater flexibility with length-frequency data, a bug in the seasonalised VBGF and other minor bugs were fixed, and the package description was improved.
 
Tobias Mildenberger
added an update
The CRAN version of the TropFishR package was updated. It is now up to date with the most recent package version on the GitHub page.
 
Tobias Mildenberger
added a research item
Fish stock assessment methods and fisheries models based on the FAO Manual ”Introduction to tropical fish stock assessment” by P. Sparre and S.C. Venema <http://www.fao.org/docrep/W5449E/W5449E00.htm>. Focus is the analysis of length-frequency data and data poor fisheries.
Tobias Mildenberger
added an update
A second working paper has been produced and is now openly available. This paper introduces the R package and includes a tutorial demonstrating how to use the package for a traditional fish stock assessment. The tutorial shows the estimation of growth and mortality parameters as well as the status of an exploited fish stock based on generated length-frequency data. The performance of traditional assessment methods is evaluated by comparing results to the parametrisation values of the data-generating model. Any comments on the working paper are welcome.
Mildenberger, Tobias; Taylor, Marc; Wolff, Matthias (2016): TropFishR: an R package for fisheries analysis with length-frequency data. figshare. https://dx.doi.org/10.6084/m9.figshare.4212975.v1
 
Marc H. Taylor
added an update
We are pleased to share a link to the following working paper, "Extending ELEFAN in R", which describes new optimization functions in TropFishR for estimating growth from length-frequency data. Any comments are welcome.
Taylor, Marc; Mildenberger, Tobias (2016): Extending ELEFAN in R. figshare. https://dx.doi.org/10.6084/m9.figshare.4206561
 
Tobias Mildenberger
added an update
version 1.0.0 released to CRAN
 
Tobias Mildenberger
added an update
Version 0.1 released to CRAN
 
Tobias Mildenberger
added a project reference
Tobias Mildenberger
added a project goal
Development of a modern and user-friendly toolbox for the analysis of tropical fisheries. The package is being developed in the statistical language R and will be particularly helpful for data poor conditions, e.g. analysis of length frequency data.