Skip to main content

PyPI version

Exogenous-PHATE (E-PHATE) package

Quick Start

If you would like to get started using E-PHATE, check out our example below or sample notebook within this repository.

If you have loaded a matrix X1 (with samples on rows, features on columns, generally a form of high-dimensional biological data) and a second matrix of exogenously-measured data X2 (with matched samples in the same order as the rows of X1), you can run E-PHATE as follows:

import ephate

ephate_op = ephate.EPHATE()
ephate_embedding = ephate_op.fit_transform(X1, X2)

Exogenous-PHATE (E-PHATE) is a method to model the interplay of multi-dimensional, multi-modal measurements from matched samples as a low-dimensional manifold. In our recent paper "Manifold learning uncovers nonlinear interactions between the adolescent brain and environment that predict emotional and behavioral problems," we use E-PHATE to combine children's brain activation with multiple metrics of risk in their environments. These are both high-dimensional, noisy measurements hypothesized to interact in a complex manner and explain variance in mental health, and E-PHATE uncovers low-dimensional manifold structure which improves prediction of mental health outcomes. E-PHATE is a general-purpose method for combining high-dimensional samples of signals measured endogenously (e.g., fMRI activation) with signals measured exogenously (e.g., behavioral or environmental data) for matched samples (i.e., different metrics about the same samples).

For more information, see our publication in Biological Psychiatry: Cognitive Neuroscience and Neuroimaging.

Erica L. Busch, August 2024

Installation

new as of Feb 2025: pip install ephate

Metadata

Release files for EPHATE 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EPHATE 0.2
File Size Uploaded
ephate-0.2.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for EPHATE 0.2
File Interpreter ABI Platform
ephate-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 81.5 kB

Release files / ephate-0.2.tar.gz

Download URL ephate-0.2.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
559e27f2788be9c99295b33db1fc66e2e310942a0e4e72d25f22efd7f67e32c9
BLAKE2b-256 checksum
How to use checksums
c0c0a4bdc104351f2caeefd4eb3abdcd4bdfcb42eb27e69274dc2cfd8cee5d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / ephate-0.2-py3-none-any.whl

Download URL ephate-0.2-py3-none-any.whl
Size 42.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a69d5b8d68ecfde04816a808b6996f3a08a8f876326a848847511bd42d768876
BLAKE2b-256 checksum
How to use checksums
ac09c9d9d0352f730650cc528bee933bb8bb88626b5aefd60948431ef5d2d8bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page