Transcriptomic Brain Explorer

Loading data...

WeakStrong

Methodology Overview

  • 1. Standardization: Raw gene expression data (15,636 genes × 3,446 brain regions) was standardized using StandardScaler() to zero-mean and unit-variance across regions.
  • 2. Dimensionality Reduction: PCA was applied to reduce the input dimensionality while preserving ~86% of the variance. The result: 128 principal components per region.
  • 3. Graph Autoencoder: A neural network was trained to compress each region’s PCA vector into a 64-dimensional latent space h, and then reconstruct the input from it.
  • 4. Adjacency Matrix: A soft connectivity matrix A_pred was created usingtorch.sigmoid(h @ h.T), where each entry reflects the similarity between two region embeddings.
  • 5. Clustering: Spectral Clustering was performed on A_pred to group 8 regions into functionally similar transcriptomic modules.
  • 6. Visualization: Each region was embedded in 3D space using its MNI coordinates. Edges are drawn between strongly connected regions, with color representing edge strength using the Plasma gradient.
  • 7. Interactive Explorer: For each brain region, a pre-rendered 3D Plotly graph was generated showing only its most meaningful transcriptomic connections. You can view them interactively by selecting a region.