Skip to main content

Isotope correction for MS data

Project description

PICor: Statistical Isotope Correction

ICor is a python package for correcting mass spectrometry data for the effect of natural isotope abundance.

Description

PICor takes pandas DataFrames of the measured integrated MS intensities as input, corrects them for natural isotope abundance and returns a DataFrame again.

PICor can also correct for overlapping isotopologues due to too low resoltion.For example the 13-C4 and 2-H4 isotopologues of the metabolite NAD can't be resolved at a resolution of 60,000 at 200 m/z.

Installation

To install:

$ pip install picor

You need to have pandas and scipy installed.

Usage

After importing PICor and loading your data (for example a csv file) with pandas you the correction works with:

import pandas as pd
import picor

raw_data = pd.read_csv("data.csv", index="Time in h"))
corr_data = picor.calc_isotopologue_correction(
	raw_data,
	"NAD",
	)
print(corr_data)

You can activate a resolution depent correction by setting resolution_correction to True. Specify the resolution and the reference m/z ratio with resolution and mz_calibration.

Jørn Dietze, UiT - The Arctic University of Tromsø, 2020

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PICor-0.3.2.tar.gz (38.4 kB view hashes)

Uploaded Source

Built Distribution

PICor-0.3.2-py2.py3-none-any.whl (23.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page