Giter Club home page Giter Club logo

mvpalab's Introduction

Documentation and tutorials

Welcome to the MVPAlab wiki!. MVPAlab is a MATLAB-based and very flexible decoding toolbox for multidimensional electroencephalography and magnetoencephalography data. The MVPAlab Toolbox implements several machine learning algorithms to compute multivariate pattern analyses, cross-classification, temporal generalization matrices and feature and frequency contribution analyses. This toolbox has been designed to include an easy-to-use and very intuitive graphic user interface and data representation software, which makes MVPAlab a very convenient tool for those users with few or no previous coding experience. However, MVPAlab is not for beginners only, as it implements several high and low-level routines allowing more experienced users to design their own projects in a highly flexible manner.

Installation

Getting started

Analysis configuration

Main decoding analyses

Statistics

Plot the results

mvpalab's People

Contributors

dlopezg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mvpalab's Issues

how to analyze the weight amplitude of each channel sorted by its importance?

Dear David,
I really like this MVPALAB toolbox. I want to know how to analyze the weight amplitude of each channel sorted by its importance averaged across participants. I want to do the same analysis as Figure 13 e and f in your paper. I'm sorry, but I can't seem to find this analysis in the tutorial. I hope to get your advice.

Your paper:López-García, D., Peñalver, J. M., Górriz, J. M., & Ruz, M. (2022). MVPAlab: A Machine Learning decoding toolbox for multidimensional electroencephalography data. Computer Methods and Programs in Biomedicine, 214, 106549.

Bo Sun

Working with .set file

Dear David,

I'm attampting to run an analysis on some data that have been epoched with EEGlab but seem to be falling at the first hurdle. The documentation says that MVPALab can take .set files as input, however after pointing to these data in the configuration and setting the analysis paramters, there is an import fail message due to no data files being found?

Are you able to advise on the likely cause of this error? Should I go back into EEGLab and re-save all the .set files as .mat instead? If you would like to reproduce the error, I can send you an example .set file.

Many thanks,

Ravi

The error is as follows:

Error using mvpalab_import (line 53)
Data files not found. Directory: C:<filepath>\CS+epoched\

Error in analysisController (line 8)
[cfg,~,fv] = mvpalab_import(cfg);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in studyView/startAnalysisPushed (line 1223)
evalin('base', 'run analysisController');

Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn.

Sliding Filter Analysis Cluster Searching in Real Data Error

Dear Dr. David López-García,

I've been encountering this error whilst attempting to perform the sliding filter analysis for 3 subjects for each condition. Can I kindly learn the reason behind it and potential ways to address it? Thank you.

Here's the full error message:
"
Searching clusters in real data:Arrays have incompatible sizes for this operation.

Error in mvpalab_computepermtest (line 268)
thresdata = mean(performance,3) > pctval;

Error in mvpalab_permtest (line 54)
stats = mvpalab_computepermtest(cfg,results,permuted_maps);

Error in mvpalab_permtest (line 43)
stats.(fname) = mvpalab_permtest(cfg,res,pmap,fname);

Error in mvpalab_sfilter (line 86)
stats = mvpalab_permtest(cfg,diffMap,perdiffMap);

Error in sfilterController (line 9)
[cfg,result,stats] = mvpalab_sfilter(cfg);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in studyView/startAnalysisPushed (line 1231)
evalin('base', 'run sfilterController');

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 172)
callback(appOrUserComponent, event);

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...

Related documentation

Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.
"

Can this mvpalab be used to analyse more than 2 classified condistions?

Can this mvpalab be used to analyse more than 2 condistions? Why I have created 4 condition identifiers, but though the GUI, I can only two of them, the first and second one. Also the random probability should be 0.25, but the results calculated by the lab show the random probabality is around 0.5

Permutation test (acc) "Invalid text character" Error

Dear Dr. David López-García,

In addition to the recent issue which I’ve managed to solve via installing Bioinformatics Toolbox (I’d kindly suggest adding the requirement of this toolbox within the wiki), this time when I’ve tried to compute the permutation maps I’ve encountered this error:


Computing permuted maps:

  • Subject: 1/3 >> - Permutation: 100/100 >> Elapsed time is 3074.356774 seconds.
  • Subject: 2/3 >> - Permutation: 100/100 >> Elapsed time is 2881.929183 seconds.
  • Subject: 3/3 >> - Permutation: 100/100 >> Elapsed time is 3457.997220 seconds.

Saving permuted maps: - Done!

Permutation test (acc):
Error: File: mvpalab_computepermtest.m Line: 1 Column: 1
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.

Error in mvpalab_permtest (line 54)
stats = mvpalab_computepermtest(cfg,results,permuted_maps);

Error in mvpalab_permtest (line 43)
stats.(fname) = mvpalab_permtest(cfg,res,pmap,fname);

Error in analysisController (line 27)
stats = mvpalab_permtest(cfg,result,permaps);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in studyView/startAnalysisPushed (line 1225)
evalin('base', 'run analysisController');

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 172)
callback(appOrUserComponent, event);

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...

Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.

If you could let me know about how to resolve this issue within the toolbox, I would greatly appreciate it.
Thank you!

"Unrecognized function or variable 'bioinfochecknargin'." Error While Computing Cluster Maps

Dear Dr. David López-García,

The toolbox is wonderful, thank you for providing and making it publicly available!

While producing the time-resolved MVPA for 3 subjects to yield a mean decoding accuracy, I've encountered an issue whilst computing cluster-based permutation statistics of it.

Here's the error prompt for the reference:
"Unrecognized function or variable 'bioinfochecknargin'.

Error in mafdr (line 65)
bioinfochecknargin(nargin,1,mfilename);

Error in mvpalab_computepermtest (line 218)
fdr = mafdr(hnorm,'bhfdr','true');

Error in mvpalab_permtest (line 54)
stats = mvpalab_computepermtest(cfg,results,permuted_maps);

Error in mvpalab_permtest (line 43)
stats.(fname) = mvpalab_permtest(cfg,res,pmap,fname);

Error in analysisController (line 27)
stats = mvpalab_permtest(cfg,result,permaps);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in studyView/startAnalysisPushed (line 1225)
evalin('base', 'run analysisController');

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 172)
callback(appOrUserComponent, event);

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
newCallback = @(source, event)executeCallback(ams, ...

Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn."

I've been trying to solve this issue to see statistically significant cluster windows, hence timepoints.
Have you ever encountered this issue before and if it's the case, how should I approach resolving it?

Thank you for your time and help in advance.

Best,
Bati

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.