-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README and cahnge file structurte (remove _script)
- Loading branch information
Showing
12 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
[![Build Status](https://www.travis-ci.com/mychan24/system_matrix_tools.svg?branch=master)](https://www.travis-ci.com/mychan24/system_matrix_tools) [![DOI](https://img.shields.io/badge/DOI-10.1073%2Fpnas.1415122111-purple)](https://doi.org/10.1073/pnas.1415122111) | ||
|
||
# System Segregation (graph measure) scripts in R and Matlab | ||
# System Segregation (graph measure) scripts in R and MATLAB | ||
|
||
Scripts useful for doing Resting-state Functional Correlation (RSFC) network analysis | ||
|
||
**./matlab_scripts** | ||
## Segregation calculations in R and MATLAB | ||
**./R** or **./MATLAB** | ||
* `segregation.R/.m` - calculates system segregation (Chan et al. 2014). | ||
* `segregation_by_type_prcont.R.m` - calculates segregation of specific system types (e.g., Sensory-motor, Association), and letting system of different sizes to contribute proportionally based on their size (# of nodes). This is a similar method to `segregation.R/.m` for whole brain system segregation. | ||
* `segregation_by_type_eqcont.R.m` - calculates segregation of specific system types (e.g., Sensory-motor, Association), but first averaging within/between system connectivity for each individual system. This allows smaller systems to contribute more to the overall segregation value of that system type. This was how system-type segregation was calculated in Chan et al. (2014). | ||
|
||
## Utility | ||
**./MATLAB** | ||
* `fsLR2roizmatrix.m` - extract mean RSFC time-series from ROIs on fs_LR surfaces, outputs correlation matrix. | ||
* `mat2cytoscape.m` - convert correlation matrix to 3-column format used for visualization in Cytoscape. | ||
* `segregation.m` - calculates system segregation (Chan et al. 2014). | ||
* `segregation_systype.m` - calculates segregation of specific system types (e.g., Sensory-motor, Association). This allows smaller systems to contribute more to the overall segregation value of that system type. This was how system-type segregation was calculated in Chan et al. (2014). | ||
* ./export/ - includes scripts to save node-x-node matrix as figures. | ||
|
||
**./R_scripts** | ||
* `segregation.R` - calculates system segregation (Chan et al. 2014). | ||
* `segregation_by_type_prcont.R` - calculates segregation of specific system types (e.g., Sensory-motor, Association), and letting system of different sizes to contribute proportionally based on their size (# of nodes). This is a similar method to `segregation.R` for whole brain system segregation. | ||
* `segregation_by_type_eqcont.R` - calculates segregation of specific system types (e.g., Sensory-motor, Association), but first averaging within/between system connectivity for each individual system. This allows smaller systems to contribute more to the overall segregation value of that system type. This was how system-type segregation was calculated in Chan et al. (2014). | ||
|
||
* for visualization of matrices and networks in R, see other repository [r-for-brain-network](https://github.com/mychan24/r-for-brain-network) |