calcEnv: Calculate natural abundance of isotopes over several...

Description Usage Arguments Details Value Examples

View source: R/isotopes8.R

Description

For a set of elements, compute the total natural abundance.

Usage

1
calcEnv(..., abundance = NULL)

Arguments

...

The number of each element of interest.

abundance

A list of the natural abundance for each element. By default, it knows about C, H, O, N, and S.

Details

It computes the natural abundance for each element, and convolves them together to get the total natural abundance.

Value

A numeric vector with the natural abundance of each unit mass extra, starting with zero extra.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# natural abundance for 1 nitrogen element
calcEnv(N=1)
 
# combined natural abundance for 2 nitrogen elements
calcEnv(N=2)
 
# combined natural abundance for a new element Z
calcEnv(Z=1, abundance=list(Z=c(0.7, 0.2, 0.1)))
 
# combined natural abundance for Z and N
calcEnv(N=1, Z=1, abundance=list(Z=c(0.7, 0.2, 0.1)))

HegemanLab/ProteinTurnover documentation built on May 6, 2019, 11:50 p.m.