Skip to content

Code and data for Bayesian mixing model of plant wax lipids

License

Notifications You must be signed in to change notification settings

SPATIAL-Lab/LipidMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LipidMM: A multi-source mixing model for plant wax lipids using a Bayesian framework

Basic

This is a multi-source mixing model in a Bayesian framework that provides vegetation reconstruction using plant wax n-alkane chain length distribution and δ13C of multiple chains. The model consists of priors that include user-defined source groups and their associated parametric distributions of n-alkane concentration and δ13C. The mixing process involves newly defined mixing fractions such as fractional leaf mass contribution (FLMC) that can be used in vegetation reconstruction, and fractional source contribution to a specific n-alkane homologue (FSCn). These mixing fractions can be used in the interpretation of n-alkane records. 3 case studies are given to demonstrate the utility of the model framework in the analysis of sedimentary n-alkane mixtures. The first two case studies demonstrate model utility in disentangling the mixing scenario of multiple plant sources. The third case study couples the vegetation source model to a involves the development of an additional hydrogen isotope model component, which demonstrates model utility in estimating δ2H of mean annual precipitation.

Case studies

The code presented here involves three case studies with distinct sets of priors, to illustrate how the model can be applied to the interpretation of sedimentary n-alkane records. Case Study 1 involves published long-chain n-alkane records from lake surface sediments of Lake Qinghai, China (W. Liu et al., 2015). CS1 evaluates chain length distribution and δ13C of 3 n-alkane chains.

Case Study 2 involves published long-chain n-alkane records from lake surface sediments along a vegetation gradient in Cameroon, western Africa (Garcin et al., 2014). CS2 evaluates chain length distribution and δ13C of 3 n-alkane chains.

Case Study 3 involves published long-chain n-alkane records from a marine core off the Zambezi River Mouth (Y. V. Wang et al., 2013). CS3 evaluates chain length distribution, δ13C, and δ2H of 4 n-alkane chains.

All case studies use published data from the literature.

Data

The "data" folder consists of compiled empirical records of modern plant wax n-alkanes for the case studies. These records are used to inform the prior distributions used in the Bayesian framework. It also contains published data on the chronology and sedimentary sourcing patterns for interpretation of results in Case Study 3.

Software requirements

The code is developed in R calling the standalone JAGS (Just Another Gibbs Sampler) program, which is required before the code can be run. The JAGS program can be downloaded via this link. Please make sure to download the version that is appropriate for your operating system.

To call JAGS from RStudio, the R packages "rjags" and "R2jags" are also required.

Other R packages specified in the file headers help to visualize data.

Related Publication

Yang, D. and Bowen, G.J. (2022) Integrating plant wax abundance and isotopes for paleovegetation and paleoclimate reconstructions: A multi-source mixing model using a Bayesian framework. Climate of the Past.

How to cite this software

Yang, D. (2022), LipidMM: A multi-source mixing model for plant wax lipids using a Bayesian framework. https://github.com/SPATIAL-Lab/LipidMM/.