Compute Laplacian eigenmaps to represent spatial gradients in resting-state functional connectivity across the subcortical volume.
subcortex_mask_Average_Vn2_eigenvector.nii: Group-consensus eigenmap of Gradient I
subcortex_mask_Average_Vn2_magnitude.nii: Gradient magnitude of Gradient I
Masks are in cropped space (bounding box) to aid visualization
trackvis_txt: Colormap
read.m: Read NIFTI image into MATLAB
write.m and mat2nii.m: Write out NIFTI image
compute_similarity.m: Compute the similarity (eta_squared.m) in the whole-brain functional fingerprint between each pair of subcortical voxels.
connectopic_laplacian.m: Compute the Laplacian eigenmaps
compute_gradients.m: Compute the eigenmap's gradient magnitude
compute_grads_local.m: Auxiliary function for compute_gradients.m
cont_model.m: This script shows how to use the above three functions