convertConnBrainMat: Import CONN Toolbox Brain Matrices to R format

Description Usage Arguments Value Author(s) Examples

View source: R/NetworkToolbox--master.R

Description

Converts a Matlab brain z-score connectivity array (n x n x m) where n is the n x n connectivity matrices and m is the participant. If you would like to simply import a connectivity array from Matlab, then see the examples

Usage

1
convertConnBrainMat(MatlabData, progBar = TRUE)

Arguments

MatlabData

Input for Matlab data file. Defaults to interactive file choice

progBar

Should progress bar be displayed? Defaults to TRUE. Set FALSE for no progress bar

Value

Returns a list of correlation (rmat) and z-score (zmat) arrays of neural connectivity matrices (n x n x m)

Author(s)

Alexander Christensen <[email protected]>

Examples

1
2
3
4
5
6
7
8
## Not run: 
neuralarray<-convertConnBrainMat()

#Import correlation connectivity array from Matlab
library(R.matlab)
neuralarray<-readMat(file.choose())

## End(Not run)

AlexChristensen/NetworkToolbox documentation built on May 6, 2018, 7:39 p.m.