GithubHelp home page GithubHelp logo

akeshavan / afq-browser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yeatmanlab/afq-browser

0.0 2.0 0.0 44.94 MB

Browser-based visualization tools for AFQ results

Home Page: https://yeatmanlab.github.io/AFQBrowser-demo/

License: BSD 3-Clause "New" or "Revised" License

Python 1.13% CSS 0.64% HTML 0.49% JavaScript 97.75%

afq-browser's Introduction

Browser-based graphical user interface for AFQ

AFQ-Browser will run in any standard web browser and is designed to visualize AFQ results.

See: https://yeatmanlab.github.io/AFQBrowser-demo/ for a working example

Installation

AFQ-Browser requires the numpy, scipy and pandas libraries. These are all included in the Anaconda Python distribution

AFQ-Browser and its dependencies can also be installed using pip:

pip install AFQ-Browser

To install AFQ-Browser from source, download the source code and run python setup.py install in the top-level folder after extracting it.

Running AFQ-Browser

After installing the software, you can run the program on mat files generated by AFQ. For an example, download this mat file, change your working directory to the location where the file was downloaded to, or move the file to your current working directory and run:

afqbrowser-assemble afq.mat
afqbrowser-run

Open a browser pointing to http://localhost:8080, to view the visualization of these data and to interact with it. The variables in the metadata table are created based on the variables that are stored in the [metadata field] (https://github.com/yeatmanlab/AFQ/wiki#including-subject-metadata-in-the-afq-structure) of the afq.mat file.

Publishing your website

There is a command line function that allows you to publish your website to Github. If you don't already have one, start by creating a Github account. Then run the following sequence:

afqbrowser-assemble   # Run this if you haven't before
afqbrowser-publish -t ./AFQ-Browser -r myresults

Where ./AFQ-Browser is the folder that was created by afqbrowser-assemble, and the URL of the website is: https://username.github.io/myresults (with username replaced with your Github username, and myresults replaced with the input to the -r flag).

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.