A question about the netmats

74 views
Skip to first unread message

Aaron

unread,
Feb 12, 2021, 12:19:55 PM2/12/21
to HCP-Users
Dear HCP experts,

I have a question about the computation of netmats. I tried the following code from the HCP manual but the results did not completely reproduce the netmats downloaded from db.humanconnectome.org:

netmat2=nets_netmats(ts,1,'ridgep',0.01); % regularised partial correlation  

Is the original code used for calculating netmats available somewhere in the HCP pipeline? Thank you.

Elam, Jennifer

unread,
Feb 12, 2021, 12:57:44 PM2/12/21
to HCP-Users, Stephen Smith
Hi Aaron,
The scripts for calculating the netmats downloaded from db.humanconnectome.org should be included in the scripts.tar.gz file in that download (HCP1200_Parcellation_Timeseries_Netmats.zip or HCP1200_Parcellation_Timeseries_Netmats_recon2.zip).

Here's the documentation for that analysis:

If you have other questions, Steve should be able to help you.

Best,
Jenn

From: Aaron <aaron...@outlook.com>
Sent: Friday, February 12, 2021 11:19 AM
To: HCP-Users <hcp-...@humanconnectome.org>
Subject: [hcp-users] A question about the netmats
 

* External Email - Caution *

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/70290617-3027-4118-9704-e023a3ab80f1n%40humanconnectome.org.

Aaron

unread,
Feb 13, 2021, 10:54:18 AM2/13/21
to HCP-Users, el...@wustl.edu, st...@fmrib.ox.ac.uk
Hi Jennifer,

Thank you for letting me know. I found the code in "scripts.tar.gz". 

It seems that each time when I use the function "nets_netmats" on the same input, the results are slightly different from previous runs.

Is there any random component built into this "nets_netmats" function? I looked into this function but did not quite get it. Thank you.

Steve Smith

unread,
Feb 14, 2021, 4:07:35 AM2/14/21
to Aaron, HCP-Users, el...@wustl.edu
HI - yes there is a slightly randomised part to just the bit that converts from r to z - as it tries to empirically estimate what the temporal effective degrees of freedom is. See the usage comments at the top of the file for more info, and how to turn this scaling aspect off.

Cheers.


---------------------------------------------------------------------------
Stephen M. Smith, Professor of Biomedical Engineering
Head of Analysis,  WIN (FMRIB) Oxford

FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
+44 (0) 1865 610470
st...@fmrib.ox.ac.uk    http://www.fmrib.ox.ac.uk/~steve
---------------------------------------------------------------------------



Reply all
Reply to author
Forward
0 new messages