Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

convertConnBrainMat

Import CONN Toolbox Brain Matrices to R format


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

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 containing:

rmat

Correlation matrices for each participant (m) in an array (n x n x m)

zmat

Z-score matrices for each participant (m) in an array (n x n x m)

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

Examples

## Not run: 
neuralarray <- convertConnBrainMat()

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

## End(Not run)

NetworkToolbox

Methods and Measures for Brain, Cognitive, and Psychometric Network Analysis

v1.4.1
GPL (>= 3.0)
Authors
Alexander Christensen [aut, cre] (<https://orcid.org/0000-0002-9798-7037>), Guido Previde Massara [ctb] (<https://orcid.org/0000-0003-0502-2789>)
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.