Hello,
I am new to graph theory and I'm trying out GraphVar (thank you for this toolbox, by the way!). I created ROI timeseries data using DPARSFA and I am now trying to create connectivity matrices for each subject within GraphVar. I'm running into an error message and I wonder if it's a problem with our stats toolbox or with the ROI signal files or something I haven't considered? We have checked and rechecked the matlab stats package license and everything seems ok.
So here is what I do:
1. Load Brainregions.csv and Variables.csv files.
2. Click generate conn matrix (keeping all defaults, pearson correlation) and select ROI signal files for multiple subjects. Hit ok and then I get this error:
Error in internal.stats.parseArgs (line 42)
[varargout{1:nargout}]=statslib.internal.parseArgs(pnames,dflts,varargin{:})
*Full error message attached*
Attachment | Size |
---|---|
![]() | 271.35 KB |
Johann Kruschwitz
Wed, 01/27/2016 - 12:31
Permalink
Error creating connectivity matrices
Hi,
the error is situated within the "corr" function (matlab correlation function). Probably somthing is wrong with the data you try to correlate. The data has to be in a matrix format (please check if the data you try to read into GraphVar is the same format as the sample time series data in the sample workspace - which should be the case if you extracted with DPARSFA). Do you have NaNs in the data? Does the brain regions file consist of the exact same number of rois as the number of columns in your matrix? Alternatively, you could also send me some of your data files and I can have a look whats the problem (if everything works we would know that its your stats toolbox..).
Best,
Johann
chelsmar
Wed, 01/27/2016 - 21:24
Permalink
Re: [RFMRI] Error creating
Best,
Chelsea
Johann Kruschwitz
Thu, 01/28/2016 - 09:13
Permalink
no files attached
Hi,
there was nothing attached to your post. Alternatively you can send your files directly to my email adress displayed when you open GraphVar in Matlab.
Best,
Johann