- includes the basic script for implementing a test of intermodal correspondence
- function can be implemented either as
map.test()
orspice.test()
- Input arguments:
K
: number of permutations (in the paper, we use 999)X.mat
: each row is made up of the vector of intensities across all image locations in the "X" modality for each subject (number of rows ofX.mat
should equal the number of subjects; number of columns ofX.mat
should equal the number of locations in each image)Y.mat
: same asX.mat
but for the "Y" modality. Dimension of this matrix should be the same as forX.mat
use_cores
: optionally specify the number of cores to use for parallelizing parts of the code. The default is 1.
- Code for conducting simulations from paper. We use average cortical thickness, sulcal depth, and n-back from the Philadelphia Neurodevelopmental Cohort (PNC) as population-level image patterns. Then we add/multiply noise/signal to these images to generate multi-modal image data.
- See description and results of these simulations in the paper (section 2.2.2 and Figures 3 and 4).
- This script provides the Python implementation of a test for intermodal correspondence.
- function can be used as
map_test()
. - Input arguments:
K
: Number of permutations for significance testing.X_mat
: Matrix where each row contains a vector of intensities across all image locations in the "X" modality for each subject (rows = subjects; columns = image locations).Y_mat
: Same as X_mat but for the "Y" modality. Dimensions ofY_mat
should matchX_mat
.