How to get cluster data after clustering in EEGLAB ?

4 ビュー (過去 30 日間)
Nguyen Ngoc Nghiem
Nguyen Ngoc Nghiem 2024 年 8 月 1 日
コメント済み: Kimizuka 2024 年 8 月 22 日
Hello everyone
Hello everyone,I'm encountering some difficulties while analyzing EEG data using EEGLab. After clustering ICs using the K-means algorithm, I'm unsure about how to select meaningful clusters for further analysis.Specifically, I'd like to plot ERSPs for a chosen cluster (e.g., cluster 2) and then apply bootstrapping to the entire epoch. Subsequently, I want to set all non-significant ERSP values (p > 0.05) compared to this distribution to zero dB.

回答 (1 件)

Pratyush
Pratyush 2024 年 8 月 20 日
Hi Nguyen,
To analyze EEG data using EEGLab in MATLAB, follow these steps:
  • Ensure your dataset and IC clusters are loaded with the 'STUDY' structure.
  • Use 'std_erspplot' to compute ERSPs and obtain p-values for the selected cluster.
  • Set ERSP values with p-values greater than 0.05 to zero dB.
erspDataFiltered = erspData;
erspDataFiltered(erspPvalues > 0.05) = 0;
  • Use MATLAB plotting functions to visualize the filtered ERSP data.
This process helps in identifying meaningful clusters by focusing on significant ERSP changes.
  1 件のコメント
Kimizuka
Kimizuka 2024 年 8 月 22 日
Sorry for the late reply. It was a great help for my problem.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by