Error using Rich Club Coefficient, Generating Random Networks and GLM

Hey GraphVar team,

Thank you for all you hard work in making this tool. Sadly, I've been having a few issues. 

When attempting to look at Rich Club coefficient (also using freshly installed Sample Workspace data), I get the following error:

Error using tlstsq
tlstsq dgelsd error
 
Error in graphvar_glm/PFIT (line 513)
        [B, R] = tlstsq(X, Y);
 
Error in executeStats (line 256)
                        [P, F, B] = PFUN(Y);
 
Error in GraphVar_corr (line 65)
[Files, LAB, N] = executeStats(allTasks, ...
 
Error in GraphVar>Btn_calcCorr_Callback (line 75)
    GraphVar_corr(handles,allTask)
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in GraphVar (line 40)
    gui_mainfcn(gui_State, varargin{:});
 
Error in @(hObject,eventdata)GraphVar('Btn_calcCorr_Callback',hObject,eventdata,guidata(hObject))
 
 
Error while evaluating uicontrol Callback
 
 
Furthermore, when I try to generate random networks for smallworld propensity and to normalize, I get this error. It seems to be due to my own matrices, as I can generate with the sample data, but my matrix is certainly not directed. It's a 90x90 AAL matrix based on full correlation.
 
Error using randomizer_bin_und (line 31)
Matrix should be undirected
 
Error in CalcVars (line 438)
                                ResultRand{i_sub,i_random,i_dyn} = randFuncHandle(VPData{i_sub,i_dyn},randomIterations);
 
Error in GraphVar_calc (line 87)
[res,shuffelFiles] =
CalcVars(dialogData.thresholds,dialogData.thresholdType,dialogData.brainD,dialogData.functionList,handles.vpFiles,'TaskPlaner',allTasks,'MatrixName',dialogData.MatrixName,'FilePo
Error in GraphVar>Btn_calcCorr_Callback (line 73)
[res allTask] = GraphVar_calc(handles);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in GraphVar (line 40)
    gui_mainfcn(gui_State, varargin{:});
 
Error in @(hObject,eventdata)GraphVar('Btn_calcCorr_Callback',hObject,eventdata,guidata(hObject))
 
 
Error while evaluating uicontrol Callback
 
 
Any ideas on how to solve this?

Furthermore, I've been attempting to implement my design matrix in the GLM (2x2 within subjects design, 2 test days, 2 conditions per test day), but I'm not sure if it's possible with the current version. I have loaded the Session data as Subject01_ and then a,b,c,d, with a and b being test day 1 condition 1 and 2, and c and d being test day 2 condition 1 and 2. Where do I put the variables? The within option is already used by the Subject ID.
 
Thanks in advance for all your help.
 
Sincerely,
 
David

 

AttachmentSize
Rich Club.png366.01 KB

Forums: