• We are sorry, but NCBI web applications do not support your browser and may not function properly. More information
Logo of plosonePLoS OneView this ArticleSubmit to PLoSGet E-mail AlertsContact UsPublic Library of Science (PLoS)
PLoS One. 2010; 5(3): e9672.
Published online Mar 12, 2010. doi:  10.1371/journal.pone.0009672
PMCID: PMC2837382

Source Partitioning Using Stable Isotopes: Coping with Too Much Variation

Sean Rands, Editor

Abstract

Background

Stable isotope analysis is increasingly being utilised across broad areas of ecology and biology. Key to much of this work is the use of mixing models to estimate the proportion of sources contributing to a mixture such as in diet estimation.

Methodology

By accurately reflecting natural variation and uncertainty to generate robust probability estimates of source proportions, the application of Bayesian methods to stable isotope mixing models promises to enable researchers to address an array of new questions, and approach current questions with greater insight and honesty.

Conclusions

We outline a framework that builds on recently published Bayesian isotopic mixing models and present a new open source R package, SIAR. The formulation in R will allow for continued and rapid development of this core model into an all-encompassing single analysis suite for stable isotope research.

Introduction

Stable isotope approaches are an important ecological tool, enabling increasingly sophisticated questions to be addressed in a number of fields [1], [2] although the majority of work has been in the area of animal foraging and resource partitioning [e.g. 3]. Much progress has been facilitated by isotopic mixing models which allow researchers to estimate the proportional contribution of sources (dietary items) within a mixture (consumer tissue), and thereby infer diet composition [4], [5].

Numerous approaches to solving isotopic mixing models have been proposed [6], [7], [8], [9], [10], although those developed by Phillips & co-authors have been the most widely embraced. For mathematically determined systems, simple linear mixing models [6] were used to find unique solutions, the assumption being that there is no variability within sources. An extension to these, IsoError [10], allowed variation to be propagated to produce uncertainty within the outputs, being more appropriate in natural systems. In underdetermined systems where the number of sources is greater than the number of isotopes plus one, and no exact solution exists, the standard approach has been to use IsoSource [9] using an iterative algorithm, producing a range of feasible solutions, based on an arbitrary user-defined threshold.

Although these approaches have been successful, some recurring issues remain:

  1. The task of dealing with uncertainties inherent in all types of biological systems, particularly ecological situations
  2. Working with underdetermined systems, where there are many more potential sources than isotopes.
  3. Incorporating variability into the input parameters, such as the end members (consumers), sources and trophic enrichment factors (TEFs).
  4. Dealing with external sources of variation not connected to isotopic uncertainty (such as physiological differences or unidentified minor dietary sources).

In general, some existing models can incorporate variability but are constrained by the number of sources, e.g. IsoError [10]. While later models, e.g. IsoSource [9] can cope with multiple sources, they cannot incorporate uncertainty and variation. Perhaps most frustratingly, the outputs from these models represent a range of feasible solutions, with no quantification as to which solutions are most likely. Furthermore, none of these models account for issues 3 & 4 above, particularly variation in TEFs, which can be problematic [11], [12].

Bayesian inference offers to circumvent the limitations indicated above, incorporating many more sources of variability within the model, while allowing for multiple dietary sources and then generating potential dietary solutions as true probability distributions. We present a novel methodology for analysing mixing models implemented in the software package SIAR (Stable Isotope Analysis in R) [13]. SIAR is available to download from the packages section of the Comprehensive R Archive Network site (CRAN) - http://cran.r-project.org/. SIAR is similar in many regards to MixSIR, a recently published Bayesian mixing model [14] which is providing novel insights in a variety of situations [15], [16], [17]. Aside from relatively minor differences in the fitting algorithms implemented in SIAR and MixSIR (SIAR uses MCMC while MixSIR uses Sample Importance Resampling) the two models differ fundamentally such that SIAR includes an overall residual error term lacking from MixSIR [18]. Some debate remains as to the appropriateness of including or omitting the residual error term with arguments for model simplicity favouring omission in some cases [19]. However, we maintain that unknown sources of error on the observed data, beyond that quantified by errors on the sources and the trophic enrichment factors should not be ignored from a philosophical stand-point and a residual term should always be included (as one would routinely expect in any linear model) [20].

Methods

First, we outline the algebra for our system. We deal with a generic situation where data comprise N measurements on J isotopes with K sources:

  • Xij = observed isotope value j of the consumer i.
  • sjk = source value k on isotope j; normally distributed with mean μjk and variance ωjk2.
  • cjk = TEF for isotope j on source k; normally distributed with mean λjk and variance τjk2.
  • pk = dietary proportion of source k; estimated by the model.
  • qjk = concentration of isotope j in source k [see 20]
  • εij = residual error, describing additional inter-observation variance not described by the model, σj2 estimated by the model.

The model is formulated as follows:

equation image
(1)
equation image
(2)
equation image
(3)
equation image
(4)

A key advance is that the Bayesian paradigm allows for uncertainty in all the parameters. The two most important here are p and σ2, controlling proportional contribution and residual variance respectively. Model fitting is hierarchical, offering unbounded flexibility in adding complexity. Moreover, the Bayesian approach allows for external (prior) information to be incorporated, further narrowing the precision of estimated dietary proportions. This prior information may be vague or informative, e.g. corresponding to the volume of existing knowledge regarding a priori knowledge about the diet of an animal. A natural prior distribution for pk is the Dirichlet, a generalisation of the Beta distribution [21].

The Dirichlet distribution treats each source input as independent but requires they sum to unity. SIAR allows users to specify prior information on the mean proportions (that sum to unity) for each dietary source and a standard deviation for the first of these proportions; this is used to generate K α values. This external information directs the model according to the user's expert knowledge. The Dirichlet prior does not allow the user to specify individual uncertainties for each proportion, but the prior as input does match exactly what the model receives and uses it to draw consistent proportions [18].

The generated marginal distributions of a Dirichlet distribution with K α values [21] can be explored by defining:

equation image
(5)

and then the characteristics of the distribution are given by:

equation image
(6)
equation image
(7)
equation image
(8)

where An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e009.jpg and An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e010.jpg (and their associated Dirichlet parameters An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e011.jpg and An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e012.jpg) are the kth and pth dietary proportions. The default SIAR model sets each of the α values to 1. This corresponds to a vague prior with each source having prior mean 1/K and prior variance (K−1)/(K2(K+1)). The Dirichlet-distributed default prior used by SIAR is designed to be vague so that the results are primarily influenced by the data. More informative prior distributions are available as part of the SIAR software. Furthermore, although the Dirichlet prior distribution has a prescribed covariance structure, the posterior distributions may have more complicated structures, yielding important information about how well the model can discriminate between sources. SIAR includes diagnostic matrix plots for exploring this covariance structure. Strong negative correlation between two posterior pk values implies that one source is simply being traded off against the other and the model is unable to isolate the contribution of either in isolation. A vague prior is also assigned to σ.

Model fitting is via Markov chain Monte Carlo (MCMC) which produces simulations of plausible values of pk consistent with the data. The estimated values of the parameters after taking into account the data and the prior information are known as posterior distributions, representing a true probability density for the parameters of interest. The R package SIAR allows full access to these posterior densities so that users can create any summary of the output they require.

Results

First, we illustrate the model with a simulated example involving 2 unique isotope measurements on 10 organisms whose diets comprise 3 different uncertain sources: A, B and C; in SIAR these are treated as normally distributed. We set TEFs to zero and the concentration dependencies as equal with no loss of generality. Setting the trophic enrichment values to zero mean and zero standard deviation has no bearing on the performance of the model. Adding variation here is mathematically identical to increasing variation on the sources since the variances are combined additively in the formation of the likelihood function: An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e013.jpg in equation 9 below. The likelihood function is then used to calculate the probability of the data given the model. Conversely, including a non-zero mean TEF simply offsets the data geometrically in isotope-space and has no other bearing on model performance. We simulate data from a known set of true proportions: 0.75, 0.2 and 0.05 for sources A, B and C respectively. Similarly, by varying the residual error parameter An external file that holds a picture, illustration, etc.
Object name is pone.0009672.e014.jpg when generating simulated data, we can see how the model responds to differing levels of uncertainty (Fig 1).

Figure 1
Two example simulated datasets and corresponding model performance on estimating the underlying parameters.

Generating simple test data sets

Below we outline pseudo-code for generating the data sets used for testing the SIAR coverage properties. The user first has to input the number of data sets required for testing (we used 1000), the number of consumers required for each data set (we use 10), as well as lower and upper limits on the number of sources (we use 3 to 5) and the number of isotopes (we use 2 to 3). Key to the pseudo-code is the likelihood function (which applies when the concentration dependence parameters are set equal q1 = q2 = qk) based on a normal distribution with a mean and variance:

equation image
(9)

Scenario 1 can then be created via the following pseudo-code:

Loop dataset number;

  1. Generate a random set of proportions, p from a Dirichlet distribution with all αk = 1.
  2. Generate source means (μ) based on a random sample from a normal distribution with mean 0 and standard deviation 10.
  3. Generate source standard deviations (ω) based on absolute normal distributions (to ensure only positive values) with mean 0 and standard deviation 2.
  4. Similarly generate fractionation correction means (λ) and standard deviations (τ) from normal and absolute normal distributions with means 0 and standard deviations both 1.
  5. Generate consumer means (as given by the mean of the likelihood function eq 9) as a proportion-weighted sum of source and correction means
  6. Generate residual standard errors (σ) as absolute normal distributions with standard deviation 1.
  7. Generate consumer standard deviations (right hand side of likelihood function eq 9) as a weighted sum of the squared proportions times the sum of the source and correction variances. Finally add on the residual variance.
  8. Generate consumer values (X) from the consumer means and standard deviations.
  9. Run the SIAR model for 200,000 iterations.
  10. Check whether estimated 95% credibility intervals for each proportion contain the original generated proportions.

Repeat for next data set.

The values reported in Figure 2 show the estimated proportion of the 1000 data sets inside the 95% credibility interval.

Figure 2
Proportion of 1000 simulated data sets where true values lie inside 95% intervals.

More complex data structures

Second, we conduct a fuller examination of the model, picking a selection of ‘reasonable’ scenarios and test how often the simulated true proportions lie inside the 95% credible intervals of the estimates. Clearly, it is impossible to examine all possible scenarios; the 3 we consider are:

  1. Model as given, with normally distributed error term εij, as well as normally distributed sources and correction values.
  2. Model as given, with t4-distributed error terms (this is Student's t-distribution with 4 degrees of freedom [21]) on the consumer isotope values, as well as t4-distributed sources and correction values. The t4 distribution provides long-tailed errors which may be more natural when source and TEF standard deviations are based on few observations (Nobs≤5).
  3. Model as given, but where the two closest sources have been combined to produce a single source.

These more complex scenarios of the sensitivity analysis are easily re-created by adapting the above steps for the simple case by altering the distributions of random variables and averaging across sources when combining the two nearest sources. In each case, 1000 simulated data sets of 10 target organism values were produced for data with between 2 and 3 isotopes and 3 and 5 sources. SIAR performs extremely well (Fig 2), given that some simulations, by chance, represent biological extremes. The model performs increasingly poorly as the number of sources increases (Fig 1). However, increasing the number of isotopes sustains the predictive power of the model as the number of sources increase. The model even performs acceptably in scenarios 2 and 3 where some key model assumptions are violated.

Discussion

SIAR works exceptionally well for numerous datasets, appearing robust to violations of its core assumptions (Figs 1 & 2). Users can therefore be confident of the estimated dietary composition of consumers, even in underdetermined systems. Further, they can be assured that uncertainty and variation in parameters is included in these estimates, meaning that we now have a tool to investigate complex dietary systems with greater quantitative rigour than before. Additionally, SIAR includes capability for inclusion of concentration dependence which has shown to be an essential consideration in some circumstances [20].

The Bayesian approach naturally propagates sources of uncertainty into posterior probability distributions, and as such we can make statements about which solutions are more likely than others, allowing us to use these estimates in down-stream statistical models such as relating proportion of a particular source to another measured parameter of interest such as fitness. Ideally one would bolt another Bayesian model onto the SIAR output and use the full posterior distribution. However, such techniques are not currently widely available to ecologists. Instead, since the posterior contains information on which parameters are more likely than others, a measure of central tendency (preferably the mode) could be used and passed into standard frequentist generalised linear models, particularly if the posterior distributions of interest are precise and not highly skewed. We caution users to be aware that the posterior dietary proportion estimates may be highly uncertain and that single summary values (such as the modes) should be used with care. There is also no reason to expect the modes of the marginal posterior distributions to sum-to-unity: something that is not an issue if the full posterior distribution is used in down-stream analyses.

Not surprisingly there are caveats to consider before applying SIAR (several that are common to all mixing models). Some of these are:

  1. SIAR can produce precise estimates, but the underlying model may remain undetermined and thus the outputs represent probable solutions.
  2. SIAR (reasonably) assumes that the variability associated with sources and the uncertainty associated with TEFs is normally distributed. If it is suspected that the distributions depart from this assumption then it is possible to change the likelihood function in SIAR (requiring non-trivial recoding).
  3. SIAR currently assumes that no isotopic routing occurs within the body of the consumer and that all isotopes are assimilated equally [22]. We urge researches to satisfy themselves with the validity of this assumption as violation may results in misleading results.
  4. SIAR will always attempt to fit a model, even if the sources lie outside of the isotopic mixing polygon [20]. Researchers are urged to examine their data carefully before using any mixing models.

Recent quantitative advances allow comparison of community structure based on isotope data alone – in δ-space [23], [24]. However, now that Bayesian approaches can yield robust estimates of diet, the prospect of using diet composition to describe community structure (i.e. in p-space) [25], and quantifying competition arising in overlapping niches is becoming a real possibility.

In most instances it will be the causes or consequences of dietary differences that are of interest to the researcher. The Bayesian approach allows further development via the model output, for example the inclusion of the dietary proportions with their uncertainty in generalised linear models to relate diet with other explanatory variables such as the inclusion of random effects in MixSIR [26]. Furthermore, these mixing models are equally applicable to other mixing problems such as identifying pollution sources. SIAR potentially opens up a host of possibilities for addressing key ecological questions and we envisage it developing continually as open-source software, becoming a holistic resource for performing a range of generic analyses relating to stable isotope techniques.

Acknowledgments

We are grateful to Carlos Martinez Del Rio, Don Phillips and Brian Fry for discussion and insight which greatly improved this paper.

Footnotes

Competing Interests: The authors have declared that no competing interests exist.

Funding: Authors AJ, AP and SB hold faculty positions in their respective institutions. No other funds are directly linked to the work described in this manuscript. RI is funded as a postdoctoral researcher on NERC standard grant NE/F021690/1 http://www.nerc.ac.uk/ The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

1. Soto-Jimenez MF, Paez-Osuna F, Scelfo G, Hibdon S, Franks R, et al. Lead pollution in subtropical ecosystems on the SE Gulf of California Coast: a study of concentrations and isotopic composition. Marine Environmental Research. 2008;66:451–458. [PubMed]
2. Gibbs MM. Identifying source soils in contemporary estuarine sediments: A new compound-specific isotope method. Estuaries and Coasts. 2008;31:344–359.
3. Inger R, Bearhop S. Applications of stable isotope analyses to avian ecology. Ibis. 2008;150:447–461.
4. Inger R, Ruxton GD, Newton J, Colhoun K, Robinson JA, et al. Temporal and intrapopulation variation in prey choice of wintering geese determined by stable isotope analysis. Journal of Animal Ecology. 2006;75:1190–1200. [PubMed]
5. Samelius G, Alisauskas RT, Hobson KA, Lariviere S. Prolonging the arctic pulse: long-term exploitation of cached eggs by arctic foxes when lemmings are scarce. Journal of Animal Ecology. 2007;76:873–880. [PubMed]
6. Phillips DL. Mixing models in analyses of diet using multiple stable isotopes: a critique. Oecologia. 2001;127:166–170. [PubMed]
7. Hall-Aspland SA, Hall AP, Rogers TL. A new approach to the solution of the linear mixing model for a single isotope: application to the case of an opportunistic predator. Oecologia. 2005;143:143–147. [PubMed]
8. Lubetkin SC, Simenstad CA. Multi-source mixing models to quantify food web sources and pathways. Journal of Applied Ecology. 2004;41:996–1008.
9. Phillips DL, Gregg JW. Source partitioning using stable isotopes: coping with too many sources. Oecologia. 2003;136:261–269. [PubMed]
10. Phillips DL, Gregg JW. Uncertainty in source partitioning using stable isotopes. Oecologia. 2001;127:171–179. [PubMed]
11. Vanderklift MA, Ponsard S. Sources of variation in consumer-diet delta N-15 enrichment: a meta-analysis. Oecologia. 2003;136:169–182. [PubMed]
12. Caut S, Angulo E, Courchamp F. Caution on isotopic model use for analyses of consumer diet. Canadian Journal of Zoology-Revue Canadienne De Zoologie. 2008;86:438–445.
13. Parnell A, Inger R, Bearhop S, Jackson AL. SIAR: Stable isotope analysis in R. 2008
14. Moore JW, Semmens BX. Incorporating uncertainty and prior information into stable isotope mixing models. Ecology Letters. 2008;11:470–480. [PubMed]
15. Wilson RM, Chanton J, Lewis G, Nowacek D. Combining Organic Matter Source and Relative Trophic Position Determinations to Explore Trophic Structure. Estuaries and Coasts. 2009;32:999–1010.
16. Araujo MS, Bolnick DI, Martinelli LA, Giaretta AA, dos Reis SF. Individual-level diet variation in four species of Brazilian frogs. Journal of Animal Ecology. 2009;78:848–856. [PubMed]
17. Cremona F, Hamelin S, Planas D, Lucotte M. Sources of organic matter and methylmercury in littoral macroinvertebrates: a stable isotope approach. Biogeochemistry. 2009;94:81–94.
18. Jackson AL, Inger R, Bearhop S, Parnell A. Erroneous behaviour of MixSIR, a recently published Bayesian isotope mixing model: a discussion of Moore & Semmens, Ecology Letters, 2008. Ecology Letters. 2009;12:E1–E5. [PubMed]
19. Semmens BX, Moore JW, Ward EJ. Improving Bayesian isotope mixing models: a response to Jackson et al. (2009). Ecology Letters. 2009;12:E6–E8. [PubMed]
20. Phillips DL, Koch PL. Incorporating concentration dependence in stable isotope mixing models. Oecologia. 2002;130:114–125.
21. Evans M, Hastings N, Peacock B. Statistical Distributions. New York: John Wiley & Sons; 2000.
22. Wolf N, Carleton SA, del Rio CM. Ten years of experimental animal isotopic ecology. Functional Ecology. 2009;23:17–26.
23. Bearhop S, Adams CE, Waldron S, Fuller RA, Macleod H. Determining trophic niche width: a novel approach using stable isotope analysis. Journal of Animal Ecology. 2004;73:1007–1012.
24. Layman CA, Arrington DA, Montana CG, Post DM. Can stable isotope ratios provide for community-wide measures of trophic structure? Ecology. 2007;88:42–48. [PubMed]
25. Newsome SD, del Rio CM, Bearhop S, Phillips DL. A niche for isotopic ecology. Frontiers in Ecology and the Environment. 2007;5:429–436.
26. Semmens BX, Ward EJ, Moore JW, Darimont CT. Quantifying Inter- and Intra-Population Niche Variability Using Hierarchical Bayesian Stable Isotope Mixing Models. PLoS ONE. 2009;4:e6187. [PMC free article] [PubMed]

Articles from PLoS ONE are provided here courtesy of Public Library of Science
PubReader format: click here to try

Formats:

Related citations in PubMed

See reviews...See all...

Cited by other articles in PMC

See all...

Links

  • MedGen
    MedGen
    Related information in MedGen
  • PubMed
    PubMed
    PubMed citations for these articles

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...