brainGraph | Graph theory analysis of brain MRI data | Data Visualization library
kandi X-RAY | brainGraph Summary
kandi X-RAY | brainGraph Summary
brainGraph (RRID: SCR_017260) is an R package for performing graph theory analyses of brain MRI data. It is most useful in atlas-based analyses (e.g., using an atlas such as AAL, or one from Freesurfer); however, many of the computations (e.g., the GLM-based functions and the network-based statistic) will work with any graph that is compatible with igraph. The package will perform analyses for structural covariance networks (SCN), DTI tractography (I use probtrackx2 from FSL), and resting-state fMRI covariance (I have used the Matlab-based DPABI toolbox).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of brainGraph
brainGraph Key Features
brainGraph Examples and Code Snippets
Community Discussions
Trending Discussions on brainGraph
QUESTION
I'm attempting to calculate the global efficiency of a very large igraph
with brainGraph::efficiency(my_graph, type = "global")
.
ANSWER
Answered 2019-Apr-20 at 20:12R crashes because brainGraph::efficiency()
attempts to calculate an enormous and dense distance matrix, which overwhelms the memory of my machine (32 GB). But I found a solution that chunks out the operation and runs in parallel.
Global efficiency is the mean of all nodal efficiencies in the graph. The nodal efficiency of a vertex i is:
We can sequentially calculate the nodal efficiency for each vertex in the graph, which splits the distance matrix calculation into smaller manageable bits. Because the efficiency of each vertex is independent, we can parallelize the operation so it doesn't take forever.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install brainGraph
Directly from CRAN: (use one of the following commands)
From the GitHub repo (for development versions). This requires that the devtools package be installed:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page