The NTR Orthogonalization Library is a specialized MATLAB toolkit designed to aid fMRI block-based studies in constructing word lists for their experiments. By ensuring minimal correlation between words, the library helps scientists optimize the construction of word lists, thereby enhancing the precision of fMRI studies.
- Minimized Word Correlation: Construct word lists with minimal inter-word correlations.
- Adjustable Word List Length: Tailor the length of word lists while maintaining minimal correlation.
- User-Friendly Interface: Designed for scientists with varying levels of coding experience.
- Customizable: Accommodates unique datasets and parameters to fit specific project needs.
- Visualization Tools: Visualize distance matrices and correlations to aid study design.
- Extensibility: Designed for ease of extension to cater to related projects.
The core algorithm behind the NTR Orthogonalization Library focuses on minimizing the correlation between words in block-based fMRI studies. The algorithm achieves this by:
- Calculating pairwise correlations between words based on their semantic vectors.
- Creating a triangular distance matrix that represents the semantic distances between words.
- Iteratively adjusting the word list to minimize the overall correlation while maintaining the desired length.
This approach ensures that the word lists generated are both short and minimally correlated, optimizing the precision of fMRI studies.
- MATLAB (R2019a or later recommended).
- Data files (e.g.,
wordinput_1.csv
) should be placed in thedata
directory.
- Clone or download the repository to your local machine.
- Open MATLAB and set the working directory to the root folder of this project.
- Run the
main.m
script to access the primary functionality. - Explore the
+OrthogonalizationLib
directory for detailed implementations of the library's functions.
The primary script to run the library's functionality is main.m
. Executing this script will guide you through the process of creating an optimized word list for your fMRI block-based study.
For users looking to customize or extend the library's functionalities, the +OrthogonalizationLib
directory contains the core MATLAB classes and methods. Each file within this directory is well-documented to provide clarity on its purpose, usage, inputs, and outputs.
The library is designed with extensibility in mind. If you have specific requirements or datasets, the library's modular structure allows for easy adaptations and extensions. For guidance on customizing the library, refer to -.
Contributions to enhance the library are welcome. If you encounter any issues or have questions regarding its use, please raise an issue on the GitHub repository.
This project is open-source. Please refer to the LICENSE
file for more details.
- The initial foundation of this library is based on the work done in the original fMRI block-based study script by Audrey Lyu.