Skip to main content

A toolkit for breath metabolomics analysis

Project description

breathXplorer

BreathXplorer is a toolkit for the analysis of breath metabolomics data.

Installation

pip install breathXplorer

Usage

File format

The input file should be mzML format.

Feature extraction

The feature extraction is performed using the find_feature function. The function takes as input the path to the mzMl file, and returns a pandas dataframe with the extracted features.

from breathXplorer import find_feature

tb = find_feature("sample.mzML", False, .2, "Topological", 6)

The extracted feature table has the m/z values as index, and the total intensity over time as the first column, the rest of the columns are times.

Merge feature tables

The merge_feature function takes as input a list of extracted feature table, and returns a merged feature table.

from breathXplorer import merge_result, find_feature

tbs = [find_feature(f, False, .2, "Topological", 6) for f in ["sample1.mzML", "sample2.mzML", "sample3.mzML"]]
tb = merge_result(tbs, ["sample1", "sample2", "sample3"])

The merged feature table has the m/z values as index, and sample names as columns. The values are the total intensity over time.

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

breathXplorer-0.1.5.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

breathXplorer-0.1.5-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file breathXplorer-0.1.5.tar.gz.

File metadata

  • Download URL: breathXplorer-0.1.5.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for breathXplorer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5666c1b71e6da7e1a253b2d32ed1e8da927cd0bb80a8855f06466d1f9831c309
MD5 c33ae1c0608e6be00948ce5cdeb39267
BLAKE2b-256 21464a751b295df4fa6465a32d528fd2091dd84719e35317718411faf52dc8e8

See more details on using hashes here.

File details

Details for the file breathXplorer-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for breathXplorer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5193b63695782c7533ce9349f26960df579de9bee808e73ce3593b1134bd9b1
MD5 f1b7b65229e92ae877056864eef17885
BLAKE2b-256 f9b3b6088828fe90fe87d60d536ba201425e4b415b76801d40d18b68c505b9f4

See more details on using hashes here.

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