Description Usage Arguments Value Author(s) Examples
Converts single or multiple networks into igraph
's format for network analysis
1 | convert2igraph(A, neural = FALSE)
|
A |
Adjacency matrix (network matrix) or brain connectivity array
(from |
neural |
Is input a brain connectivity array (i.e., m x m x n)?
Defaults to |
Returns a network matrix in igraph
's format or
returns a list of brain connectivity matrices each of which have been
convert to igraph
's format
Alexander Christensen <alexpaulchristensen@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 | # Pearson's correlation only for CRAN checks
A <- TMFG(neoOpen, normal = FALSE)$A
igraphNetwork <- convert2igraph(A)
## Not run:
neuralarray <- convertConnBrainMat()
igraphNeuralList <- convert2igraph(neuralarray, neural = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.