sccn / roiconnect

ROI connectivity analysis in EEG
39 stars 17 forks source link

Plot "Power as a source-level cortical surface topography" does not work without FC #81

Closed amisepa closed 5 months ago

amisepa commented 6 months ago

I wanted to plot this without having to compute FC, but get an error:

image

Error using pop_roi_connectplot (line 91) Compute connectivity first

nguyen-td commented 6 months ago

If you are only interested in plotting these brain plots, you can call the allplots_cortex_BS.m (_libs/haufe/allplots_cortexBS.m) function. It requires a cortex structure with an Atlas (for example, you could load cortex.mat which contains the Desikan-Killiany, among others) and a vector as inputs. You will also need to load a colormap (e.g., you could load cm17.mat from the toolbox).

You can check out the code here https://github.com/sccn/roiconnect/blob/81336ddc84d0c21e1bb6c28a74e9817efcc95285/pop_roi_connectplot.m#L580 to see how it is used.

amisepa commented 6 months ago

Ok thanks I'll try it out.