Matlab
It’s quite hard to not love MATLAB, the “Matrix Laboratory.” It can pretty much do anything that you can dream up. Most of the scripts/tools that I have documented on here have something to do with MATLAB! I am the proud owner of a MATLAB Community hat, am not embarrassed to admit that I attend the online learning seminars for fun, and never think twice about embarking on any new project that involves MATLAB! For help writing scripts or finding functionality, it’s best to look at the MATLAB Function Reference: http://www.mathworks.com/help/techdoc/ref/f16-6011.html
Imaging
Genetics
- Plink_View Create formatted output from Plink list file, and optional look up tables
Miscellaneous
Resources
- Download the tools - here
- Save the tools to MyDocuments/MATLAB/BIAC
- Create a desktop shortcut for MATLAB and under “start in” put this address “C:Documents and SettingsVanessa SochatMy DocumentsMATLABBIAC”
- TO IMPORT TOOLS for use in SSH (running matlab via SSH): run /usr/local/packages/MATLAB/BIAC/startup.m
The Tools and Various Commands:
- readmr: gives you basic information about file size, etc for an image
- readtsv: does the same for a time series of volumes
- showsrs2: allows you to open and view image files
- which: the which command shows which directory a program is stored under
- pwd: prints the working directory
- whos: list the current variables loaded
- clear variable_name: clears the variable specified, or type “clear” to clear all variables
- help readmr: By typing “help” before a command, MATLAB will spit out relevant info about the command
TOOLS for Nifti and Analyze
- There is a set of tools you can download here for use with nifti files in matlab. I would extract the files to the MATLAB folder that you created in “My Documents,” perhaps under a new folder called nifti, if you choose.
- Tools for ROI for FSL
addpath('/usr/local/packages/MATLAB/fslroi');
addpath('/usr/local/packages/MATLAB/NIFTI');
Error Troubleshooting