Learn R Programming

NetworkToolbox (version 1.1.2)

neuralcorrtest: Neural-Behavioral Correlation Test

Description

Correlational test for global or local network characteristics of neural network data with behavioral data (still in testing phase)

Usage

neuralcorrtest(bstat, nstat)

Arguments

bstat

Behavioral statistic for each participant with neural data

nstat

A statistic vector (whole-network) or matrix (ROI) from the neuralstat function

Value

Returns correlation test statistics for given statistics

Examples

Run this code
# NOT RUN {
neuralarray <- convertConnBrainMat()

filteredneuralarray <- neuralnetfilter(neuralarray, method = "threshold", thres = .50)

AverageShortestPathLength <- neuralstat(filteredneuralarray, statistic = "ASPL")

Degree <- neuralstat(filteredneuralarray, statistic = "deg")

bstat <- iq

WholeNetwork_corr <- neuralcorrtest(bstat, AverageShortestPathLength)

ROI_corr <- neuralcorrtest(bstat, Degree)
# }

Run the code above in your browser using DataLab