tRophicPosition

estimate trophic position using stable isotope data

https://github.com/clquezada/trophicposition

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 18 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

estimate trophic position using stable isotope data

Basic Info
  • Host: GitHub
  • Owner: clquezada
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 6.44 MB
Statistics
  • Stars: 16
  • Watchers: 7
  • Forks: 3
  • Open Issues: 3
  • Releases: 10
Created over 10 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog

README.md

DOI Coverage Status R-CMD-check

tRophicPosition

tRophicPosition is a colaborative project of Chris Harrod, Andrew L. Jackson, Claudio Quezada-Romegialli and others. It consists of an R package incorporating a Bayesian model for the calculation of consumer trophic position using stable isotopes with one or two baselines. It uses the powerful approach of Markov Chain Monte Carlo simulations provided by JAGS and the statistical language R.

As of 12th of December 2022, we are releasing the version 0.8.0 of the package, the fifth release version. If you find any error, please send it to trophicposition-support@googlegroups.com and/or raise an issue in the GitHub page. Also you can also send a direct email to clquezada at harrodlab.net.

If you are interested in joining the tRophicPosition support group, do it at https://groups.google.com/d/forum/trophicposition-support

NEWS (11 December 2022)

  • Small updates to be back on CRAN. I am working on a major release. Come back soon.

NEWS (05 April 2019)

  • Updating CRAN release to v 0.7.7 (archived recently). Small fix regarding examples.

NEWS (27 June 2018)

  • Fixed issue 69 (parametricTP() when using only one baseline). This small fix changes current version of tRophicPosition to 0.7.6 only in GitHub. CRAN version will be updated soon.

NEWS (29 January 2018)

  • Added the function extractPredictiveData() to perform a posterior predictive model-checking procedure.
  • Implemented code coverage and unit test.
  • Improved the code (to make it clearer, considering width and the assignment operator).
  • Changed some arguments (consumer instead of species, group instead of community and others) in loadIsotopeData(), extractIsotopeData() and other functions (while maintaining old arguments as compatibility)
  • Added a a procedure for checking errors on priors arguments in jagsBayesianModel and related functions
  • Removed MCMCvis from the Short guide to tRophicPosition vignette, as that package is no longer in CRAN.

NEWS (12 October 2017)

  • Added the function fromParallelTP() to extract the data from parallel calculations (see the examples on GitHub).
  • Implemented the Bhattacharrya Coefficient (from the package dispRity) when comparing two or more posterior distributions. As dispRity is only available through GitHub, when users have not installed the package we use the internal function bhat.coeff based on dispRity package.
  • Improved credibilityIntervals(). Now it can group samples by colour, accept manual colours and legend position.
  • Added two example datasets: Inari and Kilpis (Finnish_Lakes), and Roach, and including some examples in the GitHub page.

Installation

The stable version of tRophicPosition is hosted on CRAN, and is installed like any other package: {r} install.packages("tRophicPosition")

Remember to install JAGS for your platform as well. A number of packages are needed, which can be installed with:

{r} install.packages(c("coda", "data.table", "dplyr", "ggplot2", "gridExtra", "hdrcde", "MCMCglmm", "plyr", "rjags", "knitr", "rmarkdown"))

The development version of tRophicPosition must be installed from GitHub. For this, install the package devtools, and then use the function install_github():

{r} install.packages("devtools") devtools::install_github("clquezada/tRophicPosition", build_vignettes = TRUE)

And then see the vignettes we have prepared to describe how to use the package:

{r} browseVignettes("tRophicPosition")

Online vignettes

Can be found in GitHub here.

Credits

tRophicPosition relies on some code from coda and dispRity. At the moment dispRity is only available through GitHub, so it is not included in Suggests. tRophicPosition included the Bhattacharrya Coefficient (bhatt.coeff function from dispRity) and plotMCMC (from coda) for convenience.

Citation

When citing tRophicPosition in publications, please cite both the paper describing the method and the package version you used to analyse your data:

Claudio Quezada-Romegialli, Andrew L Jackson, Brian Hayden, Kimmo K Kahilainen, Christelle Lopes and Chris Harrod (2018). tRophicPosition , an R package for the Bayesian estimation of trophic position from consumer stable isotope ratios. Methods in Ecology and Evolution, 9(6):1592-1599. doi:10.1111/2041-210X.13009

Claudio Quezada-Romegialli, Andrew L Jackson, Brian Hayden, Kimmo K Kahilainen, Christelle Lopes and Chris Harrod (2018). tRophicPosition: Bayesian Trophic Position Calculation with Stable Isotopes. R package version 0.7.5. https://cran.r-project.org/package=tRophicPosition doi:10.5281/zenodo.1161826

For previous releases please use the corresponding version and doi when citing:

Future releases and how to get support

You are encouraged to use tRophicPosition with your own data, test the package and see if there are any issues or problems. You can send your questions or commentaries to the google group tRophicPosition-support or directly to the email trophicposition-support at googlegroups.com. You can send your questions to http://stackexchange.com/ http://stackoverflow.com/ or even Facebook (stable isotope ecology group).

We are constantly working on future releases of tRophicPosition, so feedback is very much appreciated.

To DO

Things to do in tRophicPosition

GitHub Events

Total
  • Watch event: 2
  • Issue comment event: 3
Last Year
  • Watch event: 2
  • Issue comment event: 3

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 177
  • Total Committers: 5
  • Avg Commits per committer: 35.4
  • Development Distribution Score (DDS): 0.373
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
clquezada c****a@h****t 111
Claudio Quezada-Romegialli c****r@g****m 50
Benjamin b****r@g****m 6
Andrew Jackson a****n@t****e 5
Claudio Quezada-R c****a@u****l 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: almost 3 years ago

All Time
  • Total issues: 5
  • Total pull requests: 95
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.4
  • Average comments per pull request: 0.01
  • Merged pull requests: 91
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • clquezada (3)
  • MixSIAR (2)
Pull Request Authors
  • clquezada (94)
  • benjaminhlina (1)
  • nutterb (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 327 last-month
  • Total docker downloads: 21,777
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
cran.r-project.org: tRophicPosition

Bayesian Trophic Position Estimation with Stable Isotopes

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 327 Last month
  • Docker Downloads: 21,777
Rankings
Stargazers count: 14.2%
Forks count: 17.8%
Average: 25.9%
Dependent packages count: 29.8%
Downloads: 32.5%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: about 2 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • MCMCglmm * imports
  • coda * imports
  • data.table * imports
  • ggplot2 * imports
  • gridExtra * imports
  • hdrcde * imports
  • plyr * imports
  • rjags * imports
  • stats * imports
  • covr * suggests
  • dplyr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite