Code Monkey home page Code Monkey logo

Comments (3)

szhorvat avatar szhorvat commented on August 25, 2024

Since igraph has delete the function 'as_adjacency_matrix()'

This is incorrect. This function was not removed, and will not be removed from igraph.

from braingraph.

Clancy-wu avatar Clancy-wu commented on August 25, 2024

Yeah, you are right. I'm sorry for my unclear words.
The function 'as_adjacency_matrix()' was no longer to support attributions of character in version 2.0.0 (https://r.igraph.org/news/index.html).
I reports this function because when I install the brainGraph 3.0.0 in the R 4.4.0 with my ubuntu 20.04 system, the R terminal reminds me errors of using 'as_adjacency_matrix()' which can't be worked in igraph upper version 2.0.0.
Therefore, I recommend the following code to run brainGraph with new version of R:

'# remotes::install_version("igraph", version = "1.6.0")'
'library(igraph) # 1.6.0'
'packageVersion("igraph") # 1.6.0'

from braingraph.

Clancy-wu avatar Clancy-wu commented on August 25, 2024

Results comparison between GRETNA and brainGraph:

computation config

GRETNA (weighted)

image

GRETNA (binary)

image

brainGraph

image

Results Comparison

GRETNA (weighted)

image

GRETNA (binary)

image

brainGraph

image

Conclusion

(1) Density in brainGraph = Network Sparsity in GRETNA = rate threshold (contrast with fixed threshold)
(2) Results of brainGraph are same to GRETNA
(3) In brainGraph, the indicator with ‘wt’ represents ‘weighted’ and without ‘wt’ represents ‘binary’
(4) I recommend to use brainGraph rather than GRETNA

from braingraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.