Skip to content

axelwalter/streamlit-metabolomics-statistics

Repository files navigation

banner

Open in Statistics App!

A web app implementation of the statistics notebooks for metabolomics by the Functional Metabolomics Lab. These notebooks are developed by the Virtual Multi Omics Lab (VMOL).

Installation

  • run the app without installation (recommended for smaller datasets)

local installation:

  • clone this repository and install packages from requirements file

pip install -r requirements.txt

  • start the app from the terminal

streamlit run Statistics_for_Metabolomics.py

Available Statistics

  • Principal Component Analysis (PCA)
  • Multivariate
    • PERMANOVA & PCoA
  • Hierachical Clustering & Heatmaps
  • Univariate
    • One-way ANOVA & Tukey's post hoc test
    • Kruskal-Wallis & Dunn's post hoc test
  • Student's t-test

Quickstart

Once you have completed the Data Preparation step, chose any of the available statistics sections.

Data Preparation

  • two tables are required: Quantification and Meta Data
  • supported formats: tsv and txt (tab separated), csv (comma separated) and xlsx (Excel file)
  • if feature table has an optional metabolite column that will be taken as index (can be unique ID, contain m/z and RT information or actual metabolite name)
  • feature index can be automatically generated if columns for m/z and RT (and optionally row ID) are present
  • sample file names need to contain mzML file name extensions
  • quantification table needs sample file names as column names
  • meta data table requires a filename column
  • meta data table can contain columns with attributes
  • checkout the example data availabe in file selection
  • remove blank features and impute missing values in the Data Cleanup section

Example feature table:

metabolite sample1.mzML sample2.mzML blank.mzML
1 1000 1100 100
2 2000 2200 200

Example meta data table:

filename Sample_Type Time_Point
sample1.mzML Sample 1h
sample2.mzML Sample 2h
blank.mzML Blank N/A

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages