Learn R Programming

⚠️There's a newer version (2.2.0) of this package.Take me there.

CHNOSZ (version 2.0.0)

Thermodynamic Calculations and Diagrams for Geochemistry

Description

An integrated set of tools for thermodynamic calculations in aqueous geochemistry and geobiochemistry. Functions are provided for writing balanced reactions to form species from user-selected basis species and for calculating the standard molal properties of species and reactions, including the standard Gibbs energy and equilibrium constant. Calculations of the non-equilibrium chemical affinity and equilibrium chemical activity of species can be portrayed on diagrams as a function of temperature, pressure, or activity of basis species; in two dimensions, this gives a maximum affinity or predominance diagram. The diagrams have formatted chemical formulas and axis labels, and water stability limits can be added to Eh-pH, oxygen fugacity- temperature, and other diagrams with a redox variable. The package has been developed to handle common calculations in aqueous geochemistry, such as solubility due to complexation of metal ions, mineral buffers of redox or pH, and changing the basis species across a diagram ("mosaic diagrams"). CHNOSZ also implements a group additivity algorithm for the standard thermodynamic properties of proteins.

Copy Link

Version

Install

install.packages('CHNOSZ')

Monthly Downloads

920

Version

2.0.0

License

GPL-3

Maintainer

Jeffrey Dick

Last Published

March 13th, 2023

Functions in CHNOSZ (2.0.0)

add.protein

Amino Acid Compositions of Proteins
affinity

Chemical Affinities of Formation Reactions
buffer

Calculating Buffered Chemical Activities
NaCl

Simple NaCl-Water Solution
Berman

Thermodynamic Properties of Minerals
IAPWS95

Properties of Water from IAPWS-95
basis

Define Basis Species
DEW

Deep Earth Water (DEW) Model
add.OBIGT

Functions to Work with the Thermodynamic Database
CHNOSZ-package

Thermodynamic Calculations and Diagrams for Geochemistry
logB.to.OBIGT

Fit Thermodynamic Parameters to Formation Constants (log β)
makeup

Parse Chemical Formulas
ionize.aa

Properties of Ionization of Proteins
mix

Combine Diagrams for Multi-Metal Systems
diagram

Chemical Activity Diagrams
extdata

Extra Data
examples

Run Examples from the Documentation
mosaic

Chemical Affinities with Changing Basis Species
info

Search the Thermodynamic Database
equilibrate

Equilibrium Chemical Activities of Species
retrieve

Retrieve Species by Element
subcrt

Properties of Species and Reactions
stack_mosaic

Stacked mosaic diagram
palply

Conditional Parallel Processing
protein.info

Summaries of Thermodynamic Properties of Proteins
rank.affinity

Normalized Sums of Ranks of Chemical Affinities
species

Species of Interest
swap.basis

Swap Basis Species
nonideal

Activity Coefficients of Aqueous Species
solubility

Equilibrium Chemical Activities of Species
util.list

Functions to Work with Lists
util.array

Functions to Work with Multidimensional Arrays
util.data

Functions for Checking Thermodynamic Data
util.fasta

Functions for Reading FASTA Files and Downloading from UniProt
util.misc

Functions for Miscellaneous Tasks
util.expression

Functions to Express Chemical Formulas and Properties
taxonomy

Extract Data from NCBI Taxonomy Files
thermo

Thermodynamic Database and System Settings
util.formula

Functions to Work with Chemical Formulas
util.legend

Functions to Make Legend Text
util.plot

Functions to Create and Modify Plots
util.water

Functions for Properties of Water and Steam
util.protein

Functions for Proteins (Other Calculations)
util.seq

Functions to Work with Sequence Data
util.units

Functions to Convert Units
water

Properties of Water