Error creating connectivity matrices

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*

 

I'm running GraphVar beta 0.62 and matlab 2014a.

Any help narrowing down the problem would be much appreciated!
 
Thank you,
Chelsea
AttachmentSize
Image icon error message271.35 KB

Forums:

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

Thank you for your help, Johann.  I checked my time series data and it seems to look like the sample data.  It is 180 x 120.  I added 4 of my own ROIs to the brainregions file - I wonder if this is the problem?  I am attaching a few examples of the data as well as the brain regions file.

Best,

Chelsea



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