💻 🧠 Contact school.brainhack@gmail.com for questions! 🧠 💻

Univariate analysis on melody evaluation test

By Hsin-Yu Cheng
Published on June 12, 2025

"The project focused on extracting activities from functional images in a previous study about neural representation of melody-transposition. Using parcellated brain atlas as a mask, the BOLD signals underwent univariate analysis to look for effects in error detection or music-like stimulus-related brain regions/"

Project definition

For brainhack school TW-SG 2025

bhfunc2025.py includes some functions are used in other code

projectVisualizeTest.ipynb is the main processing steps I work on extracting the activities and images from preprocessed fMRI images

The exported csv files are plotted to bar graphs in resultplotting.ipynb

Background

Inspired by the previous paper: Y.-­ A. Han and P.J. Hsieh Imaging Neuroscience, Volume 2, 2024 https://doi.org/10.1162/imag_a_00352. I want to understand how simple melody stimuli can induce neuronal activities in the brain.

Tools

The Univariate analysis on melody evaluation test project will rely on the following technologies:

  • jupyter notebook
  • python packages - nilearn and nibabel
  • nilearn.dataset - Spatially constrained parcellation: msdl_rois

Data

Using the functional fMRI data in the previous paper: Y.-­ A. Han and P.J. Hsieh Imaging Neuroscience, Volume 2, 2024 https://doi.org/10.1162/imag_a_00352. Will not be provided when the project is uploaded.

Deliverables

  • comparison of activity in a set of parcellated brain regions

Results

Progress overview

The preprocessed image series went through masking and activities are extracted.

Tools I learned during this project

  • Github workflow
  • dealing with Nifti data
  • basic data visualization in seaborn

Results

Deliverable 1: Comparison of activity difference

Two subjects, one run each, are analyzed to look for the activation difference in dorsal ACC, dlPFC, and a generalized auditory region. image Expected effect are seen in one run of one subject but the other doesn’t seem obvious.

image image image image image image

Conclusion and acknowledgement

We can see the brain activity in different regions vary a lot in different individuals, even in identical test runs. More data needs analysis for a further, more general conclusion.

See also these similar projects

Functional Brain Activation During a Memory Encoding and Retrieval Task: Discovering Tools and Techniques for Analysis

This project aimed to explore tools and techniques used to analyze fMRI brain activation at the first level using data from an open-access dataset. We …

Discover this project

fMRI Parcellation

The objectives of this module are to: 1) Understand the basis of the signal used in functional magnetic resonance imaging. 2) Know the main steps of …

Discover this project

Applications of deep learning in neuroimaging

How deep learning can be used in neuroimaging analyses? A hands-on example using the nobrainer library and Montreal AI-Neuroscience workshop material.

Discover this project