Giter Site home page Giter Site logo

statnet33's Introduction

Contributors Forks Stargazers Issues MIT License


Logo

Statnet33

A Social Network Analyzer application with a flexible and user-friendly, cross-platform tool for social network analysis and visualisation

Report Bug or Request Feature

Table of Contents
  1. About The Project
  2. Setup
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

Product Name Screen Shot White

StatNet33 is a Social Network Analyzer project to build a flexible and user-friendly, cross-platform tool for social network analysis and visualisation. It is developed in Python and R, which can run on both Windows and macOS. The app features an intuitive and user-friendly interface that guides users through the analysis process. It offers interactive controls and tooltips to assist users in navigating functionalities.

(back to top)

Built With

Python Badge NumPy Badge pandas Badge NetworkX Badge Seaborn Badge Statnet Badge R Badge rpy2 Badge Dash Badge

(back to top)

Setup

  1. Clone or download the repo.
  2. Download and install Python from the official website. Make sure to add Python to your system's PATH environment variable during the installation process.
  • Install required Python packages listed in the requirements.txt file by running `pip3 install -r requirements.txt.
  1. Download and install R from the official website. Follow the installation instructions specific to your operating system.
  • Required R Packages: Install any required R packages listed in the install_packages.R script by running source("install_packages.R") in your R console.

  • For Windows users: You will need to set the R_HOME and R_LIBS environment variable to your R installation directory. This code snippet is included at the top of the ergm.py, located in the pages folder. For example:

    os.environ['R_HOME'] = 'C:\\Program Files\\R\\R-[version]'

    os.environ['R_LIBS'] = 'C:\\Program Files\\R\\R-[version]\\library'

    You can replace the path to your R installation directory on Windows accordingly.

  • For macOS users: You can set environment variables using the terminal using the export command. For example:

    export R_HOME=/Library/Frameworks/R.framework/Resources`
    export R_LIBS=/Library/Frameworks/R.framework/Versions/[version]/Resources/library

Or We can use code snippet that is also included for MacOs users:

os.environ['R_HOME'] = '/Library/Frameworks/R.framework/Resources'

os.environ['R_LIBS'] = '/Library/Frameworks/R.framework/Versions/[version]/Resources/library'

  1. After making sure that Python and R have what it needs, StatNet33 can be accessed by opening the preferred web browser (e.g., Google Chrome, Mozilla Firefox, Safari).
  • If users use Windows, users can double-click to run the run_app.bat file, which is a script containing commands, written in plain text that can be executed in Windows commands or programs with command-like interfaces.
  • Else, if users are running macOS, then users can use run_app.sh. Users can make the file executable with
chmod +x run_app.sh

and then run it from the terminal using

./run_app.sh
  • Alternatively, you can always choose to run our app.py from a terminal, an IDE, or a code editor that support Python environments.

(back to top)

Usage

The project's primary usage is for social network analysis. In details:

  • Users can easily upload network data in common formats such as CSV or JSON. The application provides validation tools to ensure data integrity. See more information in section 5, Data Processing.
  • A wide range of network cohesion statistics to summarize and characterize the properties of the uploaded network. These statistics include measures of centrality, connectivity, density, and more. Read more in section 6, Network Descriptive Statistics.
  • Networks can be visualised using interactive and customizable graph layouts provided by Dash Cytoscape. The application supports various styles, colours, and labelling options to enhance the visual representation of the network. Read details in section 7, Network Visualisation.
  • The app utilised Exponential Random Graph Models (ERGM) to analyse the structural patterns and associated factors in the network. Users can use ERGM models to assess model fit and interpret the results. See more in section 8, Statistical Models.

Example

Home Page
General Metrics Page
Visualisation Page
ERGM Model Page
Simulation Page

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Project Link: https://github.com/leocomsci/Statnet33

(back to top)

Acknowledgments

I would like to express my gratitude to Dr. Peng Wang and Dr. Eureka Priyadarshani for their invaluable guidance and mentorship throughout the project. I also would like to thank my team members for their support, contributions to this project, and for being good friends.

(back to top)

statnet33's People

Contributors

leocomsci avatar ethan4thewin avatar

Watchers

 avatar

Forkers

ethan4thewin

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.