Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all 6904 articles
Browse latest View live

RE: ICA: Parameter Choice and 2nd Level Effects ?

$
0
0
[color=#000000]Dear Alfonso,[/color]

[color=#000000]In this post you mentioned that it is possible to constrain the between group analysis to only look into within-network effects.[/color]
[color=#000000]I was wondering how I can do that? I guess I can use the masks generated with ICA as ROIs (using 'Add ICA-network-ROIs' in [i]Setup.ROIs?)[/i]. But what is then the best way to analyse the group differences? And is this the correct way to create the ROIs?[/color]


Thank you!

Best wishes,
Julia

[i]Originally posted by Alfonso Nieto-Castanon:[/i][quote][color=#000000]Dear Shady[/color]

[color=#000000]The current ICA implementation in CONN does not include any model-selection approach to help determine the "optimal" number of components in ICA (we will likely end up offering some form of cross-validation approach to help determine the relative significance of different components, but that is still in the works). If you need to compute any of the AIC or MDL model-selection measures, you can probably do that from the group-level spatial maps stored in ICA.ROIs.nii and the associated timeseries stored in ICA.Timeseries.mat (but this is not really straightforward to do).[/color]

[color=#000000]Regarding your question about reconstructing individual-subject ICA maps (back-projection), those are already computed by CONN, they are stored in the files named BETA_Subject*_Condition*_Measure*.nii, and these are the volumes that are entered into your second-level analyses when looking at the [i]ICA.SpatialComponents[/i] tab in the [i]second-level results[/i] window. If, on the other hand, you mean that you would like to reconstruct individual-subject ICA maps for other subjects (other than those included in your original ICA analysis), then the way to do this would be to go to [i]Setup.ROIs [/i]and click on the '[i]ROI tools. Add network-ICA ROIs'[/i] button. This will add a new weighted-ROI that represents the group-level spatial maps computed in the group-ICA step. Using these network-ROIs as seeds in a new first-level analysis that uses multivariate-regression measures will produce the same individual-subject ICA maps as those computed in the back-projection step, and this can be applied to the same or other subjects (not necessarily those included in the original ICA analyses).[/color]

Regarding your question about Z-value thresholds, in CONN this approach can be performed simply by going to the [i]ICA.SpatialComponents[/i] tab in the [i]second-level results[/i] window, and defining a new one-sample t-test second-level analysis (i.e. simply select the 'AllSubjects' effect, contrast 1). The choice of threshold in those one-sample t-test results is somewhat arbitrary. Because of the nature of ICA analyses, these tests are actually post-hoc tests which will tend to produce strongly significant results. This is fine because these results are mainly used to help identify/represent the network associated with each component, so one is relatively free to choose the threshold values that results in the "cleaner" interpretation separately for each component (there is no confirmatory hypothesis testing here regarding these spatial maps, you just to want to characterize which aspect of the connectivity this component is capturing/representing, so one often uses relatively high/conservative thresholds in order to emphasize each specific network).

Last, regarding your question about between-group comparisons of spatial components, this is related to the above question. The average spatial map within a group does not [i]just[/i] represents the network associated with this component but rather the connectivity pattern with this network (i.e. the connectivity between this network and the rest of the brain). Of course, when thresholding these single-group maps using very conservative thresholds you just get the network itself (in the same way that if you look at seed-to-voxel connectivity and use very conservative thresholds you will just get the seed itself). When comparing the spatial map across two groups you are effectively comparing the connectivity with this network across the two groups, so it is perfectly fine to find "out-of-network" areas that show differences in connectivity between the groups (that simply indicates that the connectivity between this network and those areas differs between your two groups). If you are [i]only [/i]interested in within-network connectivity, then yes, you may constrain the between-group comparison to only include "within-network" areas, but otherwise (when interested in both within- and between- network connectivity) it is fine to perform these between-group comparisons across the entire brain.  

Hope this helps
Alfonso




[i]Originally posted by Shady El Damaty:[/i][quote]Dear fellow CONN-artists,

I've recently begun diving in ICA based methods for extracting functional networks in a modestly large data set (110 subjects, 3 time points). One major question when running ICA is the choice of parameters for data reduction and # of components to be estimated.  

The Calhoun paper presents an AIC and MDL approach for performing these estimates.  Is this algorithm implemented in CONN?  If not, how would one go about extracting the parameters to compute the AIC and MDL? The major parameters of interest would be the log of the maximum likelihood estimate of the model parameters as estimated from the fMRI data, ML (the number of time points following individual subject data reduction) and the number of sources N.

Also, is there an easy way to reconstruct individual subject ICA maps? How would one go about reconstructing individual subject time courses for time course ICA decomposition?

Additionally, how should one pick a Z value threshold?  Calhoun suggests calculating the mean and variance of each component across the subjects and then perform random effects inference for a one-sample t-test.  Using a standard 0.001 threshold often results in over-saturated maps for some components, whereas other components might tolerate only low thresholds.  How does one go about picking a consistent threshold across components?

And lastly, what exactly happens when you contrast an ICA component at the group level?  I've performed a contrast between two subject groups (drug users vs non users, [1 -1]) with a single ICA component selected.  However the difference between those two subject groups is a cluster that falls outside of the spatial extent of that ICA component (after thresholding).  Shouldn't the difference between these two subjects be constrained to only the spatial extent of the chosen ICA component?[/quote][/quote]

Mismatch degrees of freedom in Conn and SPM

$
0
0
Hello, 

I have 28 subjects scanned in Condition A and B (test-retest) and another independent group of 12 subjects also scanned in Condition A and B (test-retest). I am ordering for between-subject contrast [-1 1] and for between-condition contrast [-1 1]. I know that conn first calculates the between-condition contrast first and then runs a two-sample t-test on these measures. In the Results explorer my statistic is summarized as T(1,38)=.... However, shouldn't it be T(38)=...? When I display these results with SPM display, indeed, it is mentioned T(38)=....

What does this mismatch mean?

Thanks!

Athena

RE: Analysis space (voxel-level)

RE: Using CONN for CompCor and other denoising

$
0
0
Hi Alfonso,

Great! Re-adding the mean is straightforward, so sounds like this will work well.

Thank you very much,
-Ely

RE: Two different contrasts on the same surface

$
0
0
Hi Alfonso,

first of all thanks again for your answer and for the improvement to conn_mesh_display that you made in the latest version of conn. It works perfectly!
Then a little follow up: I would like to superimpose the cytoarchtectonical ROIs for hIP1, hIP2, hIP3 from the Anatomy toolbox onto the standard conn surface, and then overlay onto this my cluster of connectivity, in order to show that it fells in one of the subdivision of hIP.
I can easily get to the first step (i.e. overlay hIP1, 2 and 3 onto the standard surface) but then I face at least two problems:
1) the heat map is not ideal for distinct ROIs, of course it would be better something with greater contrast (on the line of the MGH cortical in FSL)
2) the "imcalc" strategy that you suggested for showing two contrasts would not work in this case, since if I add the two images, I am going to mess the value of the T map that I want to show.
I had a look at the _conn_mesh_display script, and I tried to find out where you set the colorscale. I think it may be in the following lines
>cmap2=repmat(1-linspace(1,0,128)'.^2,[1,3]).*hot(128)+repmat(linspace(1,0,128)'.^2,[1,3])*.1;
>cmap2=cmap2(33:end,:);
>cmap2=[fliplr(flipud(cmap2));cmap2];
> temp=imagesc(max(0,min(1, ind2rgb(round((size(cmap2,1)+1)/2+emph*96*linspace(-1,1,128)'),cmap2))));
but I couldn't really figure out what to change.
Have you got any suggestion ?

RE: Correlating graph measurements

$
0
0
[color=#000000]Many thanks [/color]

[color=#000000]I still have three issues not clear. So I would appreciate it if you or Alfonso can help with this. The first issue you mentioned that it is possible to compare them two different data. However, in Conn I tried to merge 2 different projects but it does not allow me because of ( I think) the different number of subjects ? Is there any other way to do this so that I can directly compare the 2 different second level projects using CONN? [/color]


[color=#000000]Also what I meant about the matrices was that how to visualise them like in papers. Conn allows me to extract the values but does not graph them in a form of square matrices ? [/color]

[color=#000000]Many thansk[/color]

[color=#000000]Aser
[/color][i]Originally posted by Pravesh Parekh:[/i][quote][color=#000000]Hi Aser,[/color]

[color=#000000]I can partially respond to your questions.[/color]

[color=#000000]1. Yes, this is the usual method for defining contrasts. You can simply select the group which you want (if its just one group) and check the graph theory results. When you need to compare these two, set up a contrast (for example 1 -1) and the graph theory results would be of that particular contrast. Do note that because you are interested in specific defined network, select appropriate ROIs only before opening graph theory results (applicable in case you have more ROIs).[/color]

[color=#000000]The results you see in the graph theory results window are mean across subjects. You can access individual subject's values as well (see below), if that is what you are looking for. Just to clarify here: the global efficiency that you see is the group mean global efficiency. Conn would calculate global efficiency for each subject, then depending on your contrast, it might do a t test to see if the mean global efficiency is significantly non-zero, then display that mean value (or the difference in mean value) in the results pane along with p value.[/color]

[color=#000000]I guess comparing global efficiency (or a different graph theory measure) of two different data for the same set of subjects will show some interesting features. For example, a condition like schizophrenia with known network integration deficits, it might be of interest to see how different functional integration parameters differ when performing a cognitive task and when at rest, to see if there are some networks which are impaired only in task, etc.[/color]

[color=#000000]I have not implemented gPPI in Conn myself but as long as you have a measure of functional connectivity between a pair of ROIs (nodes), you can (in theory) calculate graph theory parameters by considering those ROIs as nodes and the functional connectivity measure as the edge connecting those nodes. I would think that Conn would give you the graph theory results for gPPI too (but again, I have not checked this).[/color]

[color=#000000]Regarding your P.S, you can export your adjacency matrix from the GUI. This would give you subject level adjacency matrices and you can calculate any graph theory measure that you would like for individual subjects (if you need that, as above). You should also be able to access some of these from the second level results folder in your conn project folder (I am away from lab when writing this so cannot check the exact file which might be of interest). The adjacency matrix can be used to get the desired result in the matrix form, as you need (in case the results folder does not already have that file stored). Also, in the conn graph theory GUI, you can edit out the threshold value and press enter (i.e. press enter after making it blank) and it would plot a quick graph of the measure varying across thresholds.[/color]


[color=#000000]Hope the above helps.[/color]

[color=#000000]Best[/color]
[color=#000000]Pravesh [/color]

[color=#000000] 
[/color][i]Originally posted by Aser A:[/i][quote]Dear Alfonso,

I have two groups and for one of the group I have clinical data. I would like to first extract and look at the global efficiency of a specific defined network between the two groups ? How can I perform this ? I think I tried something like first: contrasting each group separately and press the graph theory button. And if I want to compare the two group I contrast them like 1 -1 and press the graph theory button. Is this correct ? Any comment is appreciate it here ?

Another important comment which I could not find an answer to is that I would like to correlate the (e.g. global efficiency with the clinical data). The clinical data is a value per subject. How can I look at this ?

Lastly, Does it make sense if I compare (e.g. global efficiency) of two different data (for example resting state vs task data) or (2 different task data). Also does conn compute the graph measurements for task data of gPPI. 

Many thanks 

Aser[/quote][/quote]

RE: scrubbing files missing after using ART

$
0
0
[color=#000000]Hi Fran,[/color]

[color=#000000]Yes, from the error message description the issue seems to be exactly the one I was referring to, namely that perhaps you forgot to include the 'scrubbing' covariate in the list of potential confounding effects during denoising. Could you please try going back to the [i]Denoising [/i]tab, adding there to the 'confounds' list the variable named 'scrubbing', and then re-running the denoising step (selecting the 'overwrite' option), and seeing whether this seems to fix this issue?[/color]

[color=#000000]And regarding the reviewer questions, I do not know the details of how you defined A1/A2 in your study, but regarding the "laterality index" analyses, and assuming that what you are doing is selecting leftA1 and rightA1 and entering a [-1 1] between-sources contrast in your second-level analyses, then yes, that is actually exactly the same as a standard "laterality index" analysis where for every subject and for every voxel you are computing the difference in connectivity (difference in Fisher transformed correlation coefficients) between this voxel and rightA1 vs. this voxel and leftA1 (a positive index indicates higher connectivity with rightA1 and a negative index indicates higher connectivity with leftA1), and then you are simply entering those indexes across all subjects into your second-level analyses (e.g. you may be performing a one-sample t-test to evaluate whether, on average, each voxel shows higher connectivity with rightA1 vs. leftA1, or you may be performing other anayses such as comparing these indexes between two subejct groups, etc. depending on how you set up your second-level design).[/color]

[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[color=#000000] 
[/color][i]Originally posted by Fran :[/i][quote]Hi Alfonso,
Thank you for taking the time to reply.
Here's what I did:

1) I run preprocessing selecting the ART outlier scrubbing option (Z=3, mm=1,5).
2) At the end of preprocessing, the "scubbing co-variate" is automatically added to the already existing co-variate. However,
some files are missing and this gives me an error during preprocessing (e.g., error below)

ERROR DESCRIPTION:

Error using conn_process (line 2916)
Non-existing ROI first-level data for scrubbing_Dim1 subject 4. Please repeat first-level analyses
Error in conn_process (line 35)
case 'analyses_gui_seed',disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)']); conn_process([10,11,15],CONN_x.Analysis);
Error in conn (line 4168)
else conn_process('analyses_gui_seed',CONN_x.Analysis);
Error in conn_menumanager (line 119)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.15.f
SPM8 + Beamforming DEM FieldMap MEEGtools aal conn
Matlab v.2016a
storage: 76.9Gb available


On a different note, I'd like to take advantage of this conversation to ask your opinion of this question (from a reviewer).
You once advised me on how to run a laterality analysis with conn. It would be great to have your answer so I can just resolve this question once for all:

The analysis of laterality seems a bit odd to me. Why not use a more commonly used laterality index? Or voxel count?
Were regions normalized between left and right hemispheres? How were A1 (primary auditory cortex) and A2 (secondary auditory cortex) defined?
Usually, these areas are defined functionally, or otherwise identified by their anatomical markers (e.g., Heschls gyrus or transverse temporal gyrus
for putative A1, Heschls sulcus for A2??).[/quote]

RE: What is d var in ICAPCAcov_measure*.mat?

$
0
0
[color=#000000]Hi Alphonso,[/color]

[color=#000000]Ok this makes much more sense however, if the d var truly reflects the variance explained by the SVD components that are retained prior to ICA decomposition, then shouldn't there be 64 (default in conn) values for each of the 64 components retained in the SVD analysis?  When I run ICA and inspect the dvar values, I have one for each estimated component. For example, if I estimate 5 components, I have 5 values in the dvar vector.[/color]

I've attached a figure of the dvar for 56 components that I estimated.  I chose 56 because that was the value estimated by the GIFT function toolbox (still not sure if that's right..)

[i]Originally posted by Alfonso Nieto-Castanon:[/i][quote][color=#000000]Hi Shady,[/color]

[color=#000000]Sorry about the confusion, I often use PCA and SVD somewhat interchangeably, even though they are not the same thing. In particular the PCA step I was refering to is simpy a dimensionality reduction step that is performed right before ICA in order to minimize computational complexity and reduce the influence of noise on the ICA algorithm (and this dimensionality reduction step simply keeps the N first componenets from a Singular Value decomposition of the concatenated group data; in Calhoun's manuscripts they often refer to this step as "group-level PCA"). Regarding ICA algorithms, currently CONN implements fastICA (same as implemented in FSL and BrainVoyager; GIFT implements other algorithms, suchs as infomax, in addition to fastICA, although in practice the differences are usually small). So, overall, yes, CONN group-ICA implements the same procedure described in Calhoun's manuscripts, nothing really new in CONN's implementation (but compared to GIFT you will find less options in CONN, mostly in an effort to try to keep things relatively simple and perhaps more easily replicable across groups; in particular CONN uses intensity and variance normalization during preprocessing, individual-subject dimensionality reduction, group-level dimensionality reduction, fastICA for independent component estimation, and GICA1 for back-reconstruction)[/color]

[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]

[color=#000000]  
[/color][i]Originally posted by Shady El Damaty:[/i][quote]Thank you Alphonso! This really helps me better understand the final outputs.  

Is there a resource I can consult regarding the methods employed for the ICA pipeline in CONN?  I've read through Calhoun's papers but it seems that you are doing something slightly different using fastICA.  

One thing I don't immediately understand is why you perform a PCA decomposition before the ICA step.  Is the SVD step performed before or after PCA decomposition?  Why don't you just do an ICA decomposition on the concatenated group data after SVD?

Thank you for taking the time to answer my questions,
Shady[/quote][/quote]

Error for 1st-level voxel-voxel analysis

$
0
0
Hi,
I have run an analysis for the ROI-voxel and ROI-ROI and have tried to go back and run the voxel-voxel/ICA analyses. However, it is producing this error message. Is there a step in the preprocessing that I need to include to perform these analyses?

Thanks

ERROR DESCRIPTION:

Error using load
Unable to read file 'C:\Swathi\Conn_Andrew_25subjects_st3\results\preprocessing\vvPC_Subject001_Condition004.mat'. No such file or directory.
Error in conn_vol (line 3)
load(filename,'V');
Error in conn (line 4123)
CONN_h.menus.m_analyses.Y=conn_vol(filename);
Error in conn_menumanager (line 133)
feval(CONN_MM.MENU{n0}.callback2{n1}{1},CONN_MM.MENU{n0}.callback2{n1}{2:end});
CONN v.16.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2015b
storage: 644.4Gb available

AAL Atlas - reslicing gone wrong!?

$
0
0
Dear Dr. Alfonso/Conn Users,

There is a version of AAL atlas shipped with Conn (utils/otherrois) which is 1x1x1 voxel size, 181x217x181 image size.
I happened to download the AAL atlas for SPM 12 which is 2x2x2 voxel size, 91x109x91 image size.

I wanted to compare these two versions to ensure that any subsequent usage of either would not impact the results. So, I changed the data types of both the atlases to int16 (precautionary step), and then used SPM "Coregister and Reslice" option to bring them to common dimension and voxel size. I specified the following settings:

Reference: avg152T1 (from the canonical folder of SPM12)
Source: conn_aal atlas file
Other Images: None
Interpolation (reslicing): Nearest neighbour

All other settings as default.

However, upon comparing the number of voxels for each label in the coregistered and resliced version of Conn AAL and AAL, I notice quite a bit of differences. When I open the atlas as image files, I see that the reslicing step has added a chunk of voxels in different areas. Clearly, the reslicing step is not working the way it ought to! This is not the case when reslicing the original AAL atlas.

I have attached a snapshot as well. The three image files in the snapshot are as follows (from left): Conn_AAL_Original file; Conn_AAL_resliced; Original_AAL_Resliced (the background shows the difference in the number of voxels for a few labels)

So, if we are using the AAL atlas and working in MNI space (2x2x2), then the volume covered by these resliced ROIs would be quite different from the original AAL atlas. How do we address this? Is this behaviour known/expected and would it affect other atlases too? Any insight in this regard would be appreciated.

Thanking you for your time and continued support


Yours sincerely
Pravesh

RE: ICA: Parameter Choice and 2nd Level Effects ?

$
0
0
[color=#000000]Hi Shady,[/color]

[color=#000000]Those MDL estimates based on single-subject data are likely not terribly meaningful, as the plots seem to suggest. They are probably all turning out to be 56 because that may be the degrees of freedom of your single-subject data after filtering (i.e. approximately the number of frequency samples within your band-pass window = NumberOfScans * FilterWidth / NyquistFrequency). This only partially relates to the "optimal" number of components for the group-level dimensionality reduction or ICA steps, as the number of subjects in your study plays a very important role in limiting the number of components that you can reliably estimate. [/color]

[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]

[i]Originally posted by Shady El Damaty:[/i][quote]Wow! great response Alfonso --

There are all sorts of issues I ran into trying to implement this on my own (memory issues nonwithstanding) so I have been using existing implementations. I've managed to estimate MDL for each individual subject's denoised data using the icatb_estimate_dimension.m function in the GIFT toolbox.  However I'm not too confident in the results since the MDL estimate hasn't been performed using the group level data but rather individual subjects (which all turned out to be 56...).  I've attached a plot of the MDL/AIC estimate with shaded error bars across subjects.  Does this look right to you?

Thank you so much for your continued support!![/quote]

Error Reading ROI files in CONN

$
0
0
Hello, 

I am new to using the CONN toolbox. I completed the setup step and selected "done" to complete setup and move on to denoising. I have tried finalizing the setup step for one, two, and all of my subjects. But each time, although it appears that the setup is initializing correctly at first, I receive the following error message about the ROI.mat file created by CONN for whichever is the last subject in the series (e.g., if I only try to finalize setup for subject 001, then I will receive this error message about subject 002's roi.mat file, even though I didn't tell the toolbox to finalize setup for subject 002; see error below):

Error using load
Unable to read file E:\filepathname\CONNProjectName\data\ROI_Subject002_Session001.mat: No such file or directory.

Error in conn_process (line 822)
load(filename,'names');
Error in conn_process (line 14)
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn (line 2999)
else conn_process('setup');
Error in conn_menumanager (line 119)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});"

Obviously this is an error with MATLAB not finding the file it expects. When I looked in the data folder of my CONN project to make sure the ROI.mat file specified above is in fact where it should be, I realized that this is a .mat file that is generated by the toolbox AFTER I have selected "done" to finish setup. So without the setup process finishing (due to the error message), the "ROI_Subject_Session.mat" file does not in fact exist, hence the error message. Essentially then, this seems like a circular problem, and I don't understand why the setup step is looking for a ROI.mat file that should be created during the setup step, and why this is causing my setup to crash out before it can create the roi.mat file for the subject. Any advice about why this is occurring or what I'm doing wrong would be greatly appreciated!

Best,
Emmaly

Error Reading ROI files in CONN

$
0
0
Hello, 

I am new to using the CONN toolbox. I completed the setup step and selected "done' to complete setup and move on to denoising. I have tried finalizing the setup step for one, two, and all of my subjects. But each time, although it appears that the setup is initializing correctly at first, I receive the following error message about the ROI.mat file created by CONN for whichever is the last subject in the series (e.g., if I only try to finalize setup for subject 001, then I will receive this error message about subject 002's roi.mat file, even though I didn't tell the toolbox to finalize setup for subject 002; see error below):

Error using load
Unable to read file E:\filepathname\CONNProjectName\data\ROI_Subject002_Session001.mat: No such file or directory.

Error in conn_process (line 822)
load(filename,'names');
Error in conn_process (line 14)
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn (line 2999)
else conn_process('setup');
Error in conn_menumanager (line 119)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});"

Obviously this is an error with MATLAB not finding the file it expects. When I looked in the data folder of my CONN project to make sure the ROI.mat file specified above is in fact where it should be, I realized that this is a .mat file that is generated by the toolbox AFTER I have selected "done" to finish setup. So without the setup process finishing (due to the error message), the "ROI_Subject_Session.mat" file does not in fact exist, hence the error message. Essentially then, this seems like a circular problem, and I don't understand why the setup step is looking for a ROI.mat file that should be created during the setup step, and why this is causing my setup to crash out before it can create the roi.mat file for the subject. Any advice about why this is occurring or what I'm doing wrong would be greatly appreciated!

Best,
Emmaly

RE: phase shift of low-frequency periodic signal

$
0
0
Dear Alfonso,
I used CONN to analyze a set of resting-state and task-induced data in two groups of participants, and found significant negative correlation in both groups. One of reviewers suspects that the small z scores (0<z score< 0.1)  do not indicate an anticorrelation but might possible indicate a small phase shift of the low-frequency periodic signal. I want to know whether CONN has considered this question?
Best,
Ivan

RE: scrubbing files missing after using ART

$
0
0
It worked!
First level analysis went through smoothly. I haven't checked the results but from looking at them visually, it looks like the effect in my ROI are even stronger.
Thank you Alfonso.

One last thing, what would you answer in reply to the reviewer who asked me to remove the subjects with head motion over 1.5mm to see if results remained the same?

Kind regards
Francesco

Phase shift of low-frequency periodic signal

$
0
0
Dear Alfonso,
I used CONN to analyze a set of resting-state and task-induced data in two groups of participants, and found significant negative correlation in both groups. One of reviewers suspects that the small z scores (0<Z< 0.1) , although they are significant,  do not indicate an anticorrelation but might possible indicate a small phase shift of the low-frequency periodic signal. I want to know whether CONN has considered this question?
Best,
Ivan

R2 values in Calculator?

$
0
0
Are the R2 values and p-values reported for any behavior x FC change comparison in the CONN calculator based upon Pearson's correlation coefficients or Spearman's coefficients?  Is data non-normality determined internally by CONN, in which case Spearman's coefficients are reported instead?

Thanks,
Jeff

combining two different data within a projec

$
0
0
Hi Alfonso,

I have resting fMRI data and task as well for the same subjects. I have analysis the two data separately using conn (i.e.e in different 2 projects). I would like to find a way to combine the two data so I can compare them directly. I tried merge but it gives some errors, I think because names, data, conditions...etc. Do you think it is correct if I create a new project and considering each data as if it was from different group by adding a new subject for each. For example if I have 20 subjects - each has 2 runs ( task and rest). I could make them 40 subjects and the first 20 going to be tasks and then last 20 rest.

I am not sure if this is correct or if there is any other way to combine them

Thanks

Aser

RE: What is d var in ICAPCAcov_measure*.mat?

$
0
0
[color=#000000]Hmm ok, so the steps are ::[/color]

[color=#000000]1. Individual Subject Data Reduction with SVD (64 components retained for each subject)[/color]
[color=#000000]2. Group Data Reduction with PCA (20 components retained for each subject)[/color]
[color=#000000]3. Group-ICA with fastICA (20 components retained)[/color]

[color=#000000]Is it correct to understand this workflow in the following way?  The top 20 directions that maximize the variance at the group level are retained at step 2 and then decomposed into the final 20 ICA components at step 3.[/color]

The d var then represents the percent variance explained by the 20 directions retained at group level PCA.  To estimate the percent variance explained by the ICA components one should then compute the variance of the time courses of each component.

[i]Originally posted by Alfonso Nieto-Castanon:[/i][quote][color=#000000]Hi Shady,[/color]

[color=#000000]The 64 default value corresponds to the 'subject-level' dimensionality reduction step (the number of components kept when characterizing the voxel-to-voxel correlation matrix separately for each subject). The info from that dimensionality reduction step is saved in the files named 'vvPCeig_Subject*_Condition*.mat'. In contrast, [/color][color=#000000]the number of components kept in the 'group-level' dimensionality reduction step is always the same as the target number of ICA components specified (and the info from that step is saved in the files named 'ICAPCAcov_Measure*.nii' and 'ICAPCAcov_Measure*.mat'). And regarding your plot, yes, that looks about right for the percent variance explained by the group-level PCA components.[/color]

[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[color=#000000] 
[/color][i]Originally posted by Shady El Damaty:[/i][quote][color=#000000]Hi Alphonso,[/color]

[color=#000000]Ok this makes much more sense however, if the d var truly reflects the variance explained by the SVD components that are retained prior to ICA decomposition, then shouldn't there be 64 (default in conn) values for each of the 64 components retained in the SVD analysis?  When I run ICA and inspect the dvar values, I have one for each estimated component. For example, if I estimate 5 components, I have 5 values in the dvar vector.[/color]

I've attached a figure of the dvar for 56 components that I estimated.  I chose 56 because that was the value estimated by the GIFT function toolbox (still not sure if that's right..)

[i]Originally posted by Alfonso Nieto-Castanon:[/i][quote][color=#000000]Hi Shady,[/color]

[color=#000000]Sorry about the confusion, I often use PCA and SVD somewhat interchangeably, even though they are not the same thing. In particular the PCA step I was refering to is simpy a dimensionality reduction step that is performed right before ICA in order to minimize computational complexity and reduce the influence of noise on the ICA algorithm (and this dimensionality reduction step simply keeps the N first componenets from a Singular Value decomposition of the concatenated group data; in Calhoun's manuscripts they often refer to this step as "group-level PCA"). Regarding ICA algorithms, currently CONN implements fastICA (same as implemented in FSL and BrainVoyager; GIFT implements other algorithms, suchs as infomax, in addition to fastICA, although in practice the differences are usually small). So, overall, yes, CONN group-ICA implements the same procedure described in Calhoun's manuscripts, nothing really new in CONN's implementation (but compared to GIFT you will find less options in CONN, mostly in an effort to try to keep things relatively simple and perhaps more easily replicable across groups; in particular CONN uses intensity and variance normalization during preprocessing, individual-subject dimensionality reduction, group-level dimensionality reduction, fastICA for independent component estimation, and GICA1 for back-reconstruction)[/color]

[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]

[color=#000000]  
[/color][i]Originally posted by Shady El Damaty:[/i][quote]Thank you Alphonso! This really helps me better understand the final outputs.  

Is there a resource I can consult regarding the methods employed for the ICA pipeline in CONN?  I've read through Calhoun's papers but it seems that you are doing something slightly different using fastICA.  

One thing I don't immediately understand is why you perform a PCA decomposition before the ICA step.  Is the SVD step performed before or after PCA decomposition?  Why don't you just do an ICA decomposition on the concatenated group data after SVD?

Thank you for taking the time to answer my questions,
Shady[/quote][/quote][/quote][/quote]

ROI-to-ROI Display

$
0
0
Dear Alfonso,

I want to display my ROI-to-ROI connectivity on older version of CONN, because background image resolution is much better and reviewers advised me to have a background image with higher resolution. I attached the file, you can see the difference. However, I am having errors when I want to display group difference. I cannot select two groups at the same time on between subject contrast. Could you please help me for that? 

Thank you very much!!
Elveda Gozdas
Viewing all 6904 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>