Giter Site home page Giter Site logo

graph-tda's Introduction

Graph-TDA

Graph Analysis and Topological Data Analysis of Parkinson's patients and Healthy Controls with PSQI 5 or > 5. HC were divided into good and bad sleepers according to the Pittsburgh Sleep Quality Index (PSQI). The cutoff used was PSQI > 5 for bad sleep quality (https://www.med.upenn.edu/cbti/assets/user-content/documents/Pittsburgh%20Sleep%20Quality%20Index%20(PSQI).pdf).

fMRI Preprocessing

All the fmri preprocessing was done on brainlife.io (https://brainlife.io/about/) following their tutorial (https://brainlife.io/docs/tutorial/networkneuroscience-functional/) for the creation of the networks. The images were preprocessed as following: aligning T1 with FSL, generating freesurfer parc, mapping the hcp--1mm atlas, running fmriprep, and converting their outputs to connectivity matrices with https://github.com/faskowit/app-fmri-2-mat, which uses 36p for nuisance regression. The resulting correlation matrices were downloaded as csv files.

Analysis

The matrices were then import into Google Colab, where the last 14 rows and columns, corresponding to the subcortical structures resulting from the freesurfer parcellation, were dropped. After this step, the matrices were used as input for graph and topological data analysis, accordig to https://github.com/multinetlab-amsterdam/network_TDA_tutorial.

Graph Theory

Basic graph measures were calculated for HC and PD.

The measures calculated were: Density - Degree/Strength - Centrality: Eigenvector, Betweenness, Closeness, Degree, Page Rank - Path length - Modularity - Assortativity - Clustering coefficient.

All measures were found different across groups, both between HC and PD, and between PSQI < 5 and > 5. In particular, PD were found to have a lower density, degree and clustering coefficient, while showing higher centrality, and path length. The statistical significance of node degree strenght and clustering coefficient were tested and were significant (p < 0.05). Similarly, the PSQI > 5 group showed the same pattern of the PD group, but on a lower degree. The statistical significance of node degree strenght and clustering coefficient were tested and significant (p < 0.05). Modularity optimization was calculated with the Louvain algorithm. It measures the strength of the division of nodes into separate communities compared to what would be expected by chance

MOD_HC

Modularity of HC

Screenshot 2023-06-02 at 16 48 58

Modularity of PD

TDA

Basic topological measures were computed for each group. Persistent homology examines the evolution of topological features, such as connected components, loops, voids, or higher-dimensional structures, across different scales or thresholds. It allows for the detection and quantification of topological characteristics that persist across multiple scales, revealing the intrinsic structure of the data.

Screenshot 2023-06-02 at 17 46 28

Persistence Diagram HC

Screenshot 2023-06-02 at 17 46 47

Persistence Diagram PD

Screenshot 2023-06-02 at 17 46 57

Persistence Density HC

Screenshot 2023-06-02 at 17 47 06

Persistence Density PD

Betti numbers are persistent homology algorithms that analyze the topology of the simplicial complexes across the filtration process. Betti numbers are computed by counting the number of topological features that persist at different scales. Specifically, Betti numbers count the number of connected components (Betti-0), loops (Betti-1), voids (Betti-2) and so on. The PD group had a lower Betti-1 than the others.

Screenshot 2023-06-02 at 16 49 23

PD k-cliques 3(triangles, where k-clique is a subset of k vertices in an undirected graph in which all vertices are connected to each other)

3K_HC

HC k-cliques 3

Screenshot 2023-06-02 at 16 55 09

PD Nodal Curvature

CURV_HC

HC Nodal Curvature

graph-tda's People

Contributors

sebarz98 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.