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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file breathXplorer-0.1.4.tar.gz
.
File metadata
- Download URL: breathXplorer-0.1.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5036193db2072fb740b86c777997289fafb9cfd885957ca19bc5bc877da4857 |
|
MD5 | 5cb8b9758ab5773ff1932803f640dafe |
|
BLAKE2b-256 | 0ce2bc36cb82c599034c26674639fd12cbccb918b0e3fb784e44f7f079070b8b |
File details
Details for the file breathXplorer-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: breathXplorer-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90afcc1540cfde93c0f1e7866005b2735afc4df57ff476764f9f21279ddab3d7 |
|
MD5 | 84488a4cd4993c367e640bd26298f3cc |
|
BLAKE2b-256 | d8afda426aa9044f7cff4f6bba3e014c2e03df306a59702b03a04776557db761 |