calc_sci: calc_sci

Description Usage Arguments Examples

View source: R/sci.R

Description

This function calculates the striatal connectivity index (sci). In the original paper (Sarpal 2016, Am J Psychiatry), there were K=12 seeds and N=91 connections. The function, however, can calculate the sci for various combinations of K seeds and N connections.

Usage

1
calc_sci(imgdf, mnidf, normdf = NULL, weights = 1, rng = 1)

Arguments

imgdf

K x 2 data frame of K seeds and their respective brain images to calculate the SCI on.

mnidf

N x 4 data frame of K seeds and N MNI coordinates.

normdf

N x 2 data frame to use for normalization.

weights

N x 1 vector to use for weighting.

rng

1 x 1 vector for how many voxels to additionally include in the ROI extraction. The default value of 1 means: target voxel +/- 1 voxel, i.e., a box of 3 x 3 x 3 = 27 voxels in total

Examples

1

philipphoman/sci documentation built on May 23, 2019, 8:56 a.m.