Giter VIP home page Giter VIP logo

gephi-modularity-cli's Introduction

gephi-modularity-cli

CLI to run Gephi Modularity operation

Usage

[ncliang@carbonman gephimodularitycli]$ java -jar target/gephi-modularity-cli-1.0-SNAPSHOT.jar -h
Usage: java -jar gephi-modularity-cli.jar OPTIONS
Options category 'input':
  --edges [-e] (a string; default: "")
    CSV file containing edges.
  --nodes [-n] (a string; default: "")
    CSV file containing nodes.
  --resolution [-r] (a double; default: "0.7")
    Resolution for modularity operation.

Options category 'misc':
  --[no]help [-h] (a boolean; default: "false")
    Prints usage info.

Options category 'output':
  --out [-o] (a string; default: "")
    CSV file output containing nodes after modularity.

Example usage:

[ncliang@carbonman gephimodularitycli]$ java -jar target/gephi-modularity-cli-1.0-SNAPSHOT.jar  --nodes=/home/ncliang/Downloads/gephi/gephi_for_Nigel/node.csv --edges=/home/ncliang/Downloads/gephi/gephi_for_Nigel/edges.csv  --out=/tmp/out.csv
Apr 17, 2019 1:08:27 PM org.netbeans.modules.masterfs.watcher.Watcher getNotifierForPlatform
INFO: Native file watcher is disabled
Apr 17, 2019 1:08:28 PM org.gephi.io.processor.plugin.DefaultProcessor process
INFO: # Nodes loaded: 20
Apr 17, 2019 1:08:28 PM org.gephi.io.processor.plugin.DefaultProcessor process
INFO: # Edges loaded: 0
Apr 17, 2019 1:08:28 PM org.gephi.io.processor.plugin.DefaultProcessor process
INFO: # Nodes loaded: 20 (0 added)
Apr 17, 2019 1:08:28 PM org.gephi.io.processor.plugin.DefaultProcessor process
INFO: # Edges loaded: 167 (167 added)

[ncliang@carbonman gephimodularitycli]$ cat /tmp/out.csv 
Id,Label,timeset,modularity_class
23,Frontal lobe,,0
13,PFC,,0
16,SFG,,2
19,MFG,,2
22,IFG,,2
74,Limbic system,,0
26,Hippocampus,,1
29,Amygdala,,0
37,Cingulate Cortex,,1
40,Thalamus,,1
43,Hypothalamus,,0
46,NAcc,,0
55,Corpus striatum,,2
78,insula,,0
64,Parietal lobe,,3
63,PPC,,3
56,Temporal lobe,,3
67,STG,,3
70,MTG,,3
73,ITG,,3

gephi-modularity-cli's People

Contributors

ncliang avatar

Watchers

 avatar

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.