fitnesscentrality
Calculate fitness centrality in networks
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Repository
Calculate fitness centrality in networks
Basic Info
- Host: GitHub
- Owner: vitelot
- License: gpl-3.0
- Language: Julia
- Default Branch: main
- Size: 86.9 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
FitnessCentrality
A non-optimized Julia program to calculate fitness centrality in networks
Installation
1. Install Julia
- Visit the official Julia website: https://julialang.org/downloads/
- Download the appropriate version for your operating system
Run the installer and follow the prompts
Verify the installation:
- Open a terminal or command prompt
- Type
juliaand press Enter - You should see the Julia REPL (Read-Eval-Print Loop) start up
Exit
juliaby pressing<ctrl+d>.
2. Set up the project
After installing Julia, you need to set up the project environment. This process ensures that all required dependencies are installed and your project is isolated from other Julia projects.
Open a terminal or command prompt.
Navigate to the directory containing the FitnessCentrality project files.
Start Julia in project mode by typing:
julia --projectThis command starts Julia and activates the project environment defined in the current directory.Once Julia starts, you'll see the Julia REPL (Read-Eval-Print Loop). It looks like this:
julia>Enter the package manager mode by pressing
]. The prompt will change to:(@v1.x) pkg>The@v1.xshows your Julia version number.In the package manager, run the
instantiatecommand:(@v1.x) pkg> instantiateThis command reads theProject.tomlfile in your project directory, creates theManifest.tomlfile, and installs all the required packages and their dependencies. It might take a few minutes, especially on the first run.Once the instantiation is complete, exit the package manager by pressing the Backspace key. This will return you to the Julia REPL.
You can now exit Julia by pressing
ctrl+dor by typing:julia> exit()
After completing these steps, your project environment is set up and ready to use. You won't need to repeat this process unless you move the project to a new machine or update the project's dependencies.
Input Files
- Input files contain the list of edges of the network, one per line.
- Nodes can be specified as integers or strings.
- The program automatically detects the number of columns:
- If more than two columns are found, the network is treated as weighted.
- File extension (e.g.,
.net) is arbitrary; files are essentially CSV or TSV format.
Running the Program
Execute the program with the following command:
julia --project FitnessCentrality.jl filename
Where filename is the path to the network file you want to analyze. For example:
julia --project FitnessCentrality.jl networks/star-wheel.net
Directed Networks
The program will ask if the network is directed. Type y if this is the case.
Results
The analysis results are placed in the results/ folder.
Owner
- Name: Vito D.P. Servedio
- Login: vitelot
- Kind: user
- Location: Vienna
- Company: Complexity Science Hub Vienna
- Repositories: 11
- Profile: https://github.com/vitelot
physicist
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Servedio
given-names: Vito D. P.
orcid: https://orcid.org/0000-0003-3221-5973
title: "A non-optimized Julia code to estimate fitness centrality in networks"
version: 0.1.0
date-released: 2024-07-29
license: GPL-3.0
repository-code: https://github.com/vitelot/FitnessCentrality