Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.81 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.81 KB

IsotopeCorrection.jl

Dev Build Status Coverage

A package for performing natural isotope abundance correction on LC-/GCMS data of 13C labeling experiments.

Please note that currently only 13C is implemented as a tracer, and correction can only be done on low resolution LC-/GCMS data.

Example

using IsotopeCorrection

# define the response / measurement vector 
response_vec = [3500000, 1000000, 3500000, 800000]

# define the chemical formula of the fragment, e.g. pyruvate
pyruvate_formula = "C3H3O3"

# define the element and number of possibly labeled atoms due to the tracer
# i.e. do not include atoms of the tracer element introduced by derivatization
pyruvate_label = "C3"

# run th correction function, the tracer purity can be adjusted using a keyword argument
corrected_response, corrected_MID, mean_enrichment, residuum = isotope_correction(response_vec,
                                                                                  pyruvate_formula,
                                                                                  label = pyruvate_label,
                                                                                  tracer_purity = 0.99)

# alternatively, pyruvate_formula could also be defined as "C3H3O3LabC3"
# in this case the label keyword should be left blank