threshold_proportional: Brain Network Construction via threshold

Description Usage Arguments Value Examples

Description

Construct brain connectivity network w/ specified links percentage via threshold

Usage

1

Arguments

W

covariance matrix.

p

links percentage.

Value

thresholded connectivity matrix.

Examples

1
2
3
4
5
 library(Matrix)
 x <- runif(20, 1, 5)
 mat <- matrix(x, nrow = 4)
 cov <-  cov(mat)
 threshold_proportional(cov, 0.3)

jyfeather/BCTR documentation built on May 20, 2019, 6:27 a.m.