Functional Connectivity with fNIRS · Part 2

Hands-on 1 · Generating Graphs

From a connectivity matrix to a graph

The same correlation matrix can give very different graphs. Change one choice at a time and watch what happens to the graph and to the numbers we would report.

1

Analysing the correlation matrix

Every pair of channels has a Pearson correlation between its haemodynamic time series. Rows and columns are channels; red is positive, blue is negative.

Signal

Question. Every pair of channels has a value. Is this already a graph? What is a node here, and what is an edge?

2

Can we keep only the “significant” edges?

A t-test on each correlation uses the number of samples as degrees of freedom. fNIRS samples are strongly autocorrelated, so the number of independent samples is much smaller. Move the slider to see how the answer depends on that assumption.

Effective degrees of freedom
Fraction of channel pairs declared significant as a function of the assumed degrees of freedom. The dashed line marks your current choice.
What we found
3

What do we do with negative correlations?

Three graphs from the same matrix, each keeping the strongest edges at the same density. Larger, darker nodes have more edges. Hover over a node to see where it is.

Density (fraction of edges kept)
Positive only (negatives set to 0)
Absolute value |r|
Negative only (|r| where r < 0)

Question. Do the positive and negative graphs look alike? Which would you trust, and why? Negative correlations are very sensitive to how systemic physiology was removed in Part 1.

4

Thresholding: absolute or proportional?

An absolute threshold keeps every edge with r above a value. A proportional threshold keeps the strongest fraction of all possible edges, so every graph has the same density.

Threshold type
Value

Two subjects with different overall connectivity give graphs of different density under the same absolute threshold. Under the same proportional threshold, their weakest kept edges have different r.

5

Binary or weighted?

A binary graph keeps only whether an edge exists. A weighted graph keeps its strength (here, r scaled so the strongest edge is 1; path lengths use 1/w). Compare the same measures computed both ways.

Density

Question. Which measures change the most when you keep the weights? What did binarising throw away?

6

Which threshold is correct?

Treat the threshold as a control parameter and the size of the largest connected component, S/N, as an order parameter. As the threshold rises, the graph goes from connected, through a fragmenting regime, to disintegrated: a percolation-like transition.

Threshold r
Largest componentOther pieces

Before you open the answer: write down the threshold you would use and why.

One way to think about it

Try this