Skip to main content

A Streamlit application for exploring ABIDE II Composite Phenotypic data

Project description

ABIDE Data Explorer

A comprehensive Streamlit application for exploring and analyzing ABIDE II (Autism Brain Imaging Data Exchange) Composite Phenotypic data.

Features

  • 📋 Data Overview: View dataset statistics, missing values analysis, and basic information
  • 🔧 Data Processing: Sort, filter, group, slice data, and convert data types
  • 📊 Visualization: Create various plots including histograms, scatter plots, bar charts, box plots, and correlation heatmaps
  • 💾 File Operations: Export data in multiple formats (CSV, JSON, Excel, Pickle) and perform file operations
  • 🖥️ User-Friendly Interface: Intuitive Streamlit web interface with organized tabs

Installation

From PyPI (when published)

pip install abide-data-explorer

From Source

  1. Clone or download the repository
  2. Navigate to the project directory
  3. Install the package:
pip install -e .

Usage

After installation, you can run the application from anywhere using:

abide-data-explorer

This will start the Streamlit server and open the application in your default web browser.

Using with Your Own Data

  1. Launch the application
  2. In the sidebar, select "Upload your own CSV"
  3. Upload your CSV file
  4. Explore your data using the various tabs and features

Using with Sample Data

The package includes sample ABIDE II data for demonstration purposes. Select "Use sample data" in the sidebar to get started immediately.

Requirements

  • Python 3.7 or higher
  • Streamlit 1.28.0 or higher
  • Pandas 1.3.0 or higher
  • NumPy 1.21.0 or higher
  • Plotly 5.0.0 or higher
  • Matplotlib 3.5.0 or higher
  • OpenPyXL 3.0.0 or higher (for Excel export)

Data Format

The application works with CSV files. For ABIDE II data, ensure your CSV contains standard phenotypic columns such as:

  • Combined_ID: Subject identifier
  • Target: Classification target (0/1 for control/ASD)
  • AGE_AT_SCAN: Age at scan time
  • FIQ, VIQ, PIQ: IQ measures
  • Other phenotypic measures

Features Overview

Data Overview Tab

  • Dataset preview with configurable number of rows
  • Basic statistics (rows, columns, memory usage)
  • Comprehensive summary statistics
  • Missing values analysis

Data Processing Tab

  • Data Type Conversion: Convert columns between int, float, and string types
  • Sorting: Sort data by any column in ascending or descending order
  • Grouping: Group data and apply aggregation functions (mean, sum, count, std)
  • Filtering: Filter data based on column values
  • Slicing: Extract specific row ranges from the dataset

Visualization Tab

  • Histogram: Distribution plots for numerical columns
  • Scatter Plot: Relationship between two numerical variables with optional color coding
  • Bar Chart: Categorical data visualization with automatic limiting for large categories
  • Box Plot: Distribution analysis with optional grouping
  • Correlation Heatmap: Correlation analysis for all numerical columns

File Operations Tab

  • Export Data: Save processed data in various formats (CSV, JSON, Excel, Pickle)
  • File Operations: Write binary files, append to text files, create XML output

Development

Project Structure

abide-data-explorer/
├── abide_data_explorer/
│   ├── __init__.py
│   ├── app.py           # Main Streamlit application
│   ├── cli.py           # Command-line interface
│   └── data/
│       └── sample_data.csv
├── setup.py
├── requirements.txt
├── README.md
└── MANIFEST.in

Building the Package

To build the package for distribution:

python setup.py sdist bdist_wheel

Installing in Development Mode

For development, install the package in editable mode:

pip install -e .

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues, questions, or contributions, please visit the project repository or contact the development team.

Acknowledgments

  • ABIDE (Autism Brain Imaging Data Exchange) for providing the dataset structure
  • Streamlit team for the excellent web app framework
  • Plotly for interactive visualizations
  • Pandas and NumPy teams for data manipulation tools

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

abide_data_explorer-1.0.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

abide_data_explorer-1.0.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file abide_data_explorer-1.0.0.tar.gz.

File metadata

  • Download URL: abide_data_explorer-1.0.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for abide_data_explorer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d3e19e67368d9bd3beda513c3ac713b7f48815a291e0a8d067045a907ac124bd
MD5 7fa16616b17329e0a311ceea0eb8f437
BLAKE2b-256 eff4a2dc8cf545c51ed947fbeea9e202b081c563068ed7b7ed8b2c7bba032b0a

See more details on using hashes here.

File details

Details for the file abide_data_explorer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for abide_data_explorer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 312831d12f54846ac1351b07238370adfde687562ea2dc93853252a67dfbb098
MD5 5ec7d73312089feaf763917e6472b388
BLAKE2b-256 d5f5f0e1a5f0251e000118158bebd6ad3cc25214acc3a0ea8e481643f445e810

See more details on using hashes here.

Supported by

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