Git Product home page Git Product logo

brainsforpublication's People

Contributors

gitter-badger avatar kirstiejane avatar miykael avatar sarahmorgan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brainsforpublication's Issues

BrainsForPublication not printing input values on images

Hi!

Firstly, many thanks for having developed those scripts for neuroimaging visualization! I am new to neuroimaging analysis overall, so please apologize me in advance if my question is too rudimentary.

I ran pysurfer_plot_parcellation_surface_values.py using a .csv file with t-statistics as the only input. Although it ran smoothly, the output images I got did not have the t-statistics printed on the surfaces. So, I would like to ask if there is any way to fix this issue.

Many thanks in advance!

Making pictures of functional clusters

The lovely @miykael is working on a wrapper using nipy and nilearn to show orthogonal slices of an MNI brain with cluster overlays.

Input will be a 3D statisical map in nifti format.

Output will be individual images for each cluster (optionally showing cross hairs) along with a summary figure of all the images. Additionally a csv file with the atlas region and stats for each cluster will be created.

Current work is removing dependency on FSL by transitioning to nilearn.

Showing thresholded and unthresholded maps using outlines and transparency

This wonderful visualisation from the Medical Image Analysis Lab shows both magnitude of an effect and the outcome of the statistical test (in this case a t-test) using hue and transparency coding.

The code is shared and available for download here and there is an accompanying paper:
Data Visualization in the Neurosciences: Overcoming the Curse of Dimensionality,
Elena A. Allen, Erik B. Erhardt, and Vince D. Calhoun, Neuron 74 (2012)
doi:10.1016/j.neuron.2012.05.001

Duel coding example

An example of a fMRI statistical map showing magnitude and statistical test outcome using hue and transparency coding:

Who are the users of this project?

The goal of this project is to make it easy for people to make reproducible figures even if they don't want to interact too closely with code! The goal is to have users set up one time and then be able to use the code whenever they need without having to think too much about it.

However, we also want to make the project welcoming to researchers who are looking to dip their toe into making their work flows more reproducible.

I think there's a better way of describing who our target audience is! Any suggestions are welcome :)

Consider adding this project to mybinder

Mybinder is a pretty snazzy little tool that runs jupyter notebooks from your github repository online.

They're executable so if we could get this project running on mybinder then the user wouldn't ever have to download or install anything! WOOOOO.

Lower boundary doesn't work for mni_glass_brain

At the moment we have a lower boundary option in the mni_glass_brain.py code to control the range of the colourmaps, however it doesn't work as there is a bug/decision in the nilearn plotting function to fix the limit to either -vmax or 0. (See issue 1149 at nilearn).

Once this issue is resolved (if it is) then checking to see if our code actually works is important! ๐Ÿ˜€

Overlaying nodal network characteristics onto freesurfer mappings (*.annot)

BrainNet (https://www.nitrc.org/projects/bnv/) has proven a useful tool to visualise brain networks, in their most recent version they have added in the option of loading freesurfer surface files (.pial) and freesurfer mappings (.annot) as well as nodal files created in Matlab (https://github.com/rb643/brains/blob/master/writeNodes.m). I'm looking for a way to write out mapping information from matlab into freesurfer format so I can combine them. The pysurfer code (https://github.com/KirstieJane/DESCRIBING_DATA) already provides a way to write these mapping to standard png's but it could be useful to have them in .annot format as well.

Roadmap

Roadmap

This issue is our roadmap for the BrainsForPublication project.

Our goal: Make neuroimaging publications more beautiful while promoting best practices for reproducible research.

The roadmap is created as an issue as it is very likely to change rapidly please liberally comment/suggest edits for the steps we need to take before, during and after the 2016 OHBM hackathon.

Document all beautiful visualisations & provide code where appropriate

Related to this goal is issue #3 Where's the best place for documentation

Promote the project within and beyond the hackathon

Write GigaScience report to accompany project

Stretch goals

Where's the best place for documentation?

We could create a wiki page for each of the code samples, but are there better suggestions?

Is there a process that can more easily be transitioned into a gh-pages website? Would a gh-pages website be useful?

Online rendering of statisical maps in NeuroVault

@chrisfilo and the NeuroVault development team are also exploring visualisation tools through the NeuroVault platform.

You can easily create 3D (pial, inflated or flattened) figures using pycortex when you upload your maps to NeuroVault as well as interactive volume visualisation using papaya.

NeuroValut volume visualisation

An example of a volume visualisation from http://neurovault.org/images/16208

NeuroValut volume visualisation

Corresponding surface visualisation from http://neurovault.org/images/16208/pycortex

You can also generate glass brain images for each map, such as this one:

NeuroVault glass brain

Contributing more visualizations

Hi there,

I just found your repository out of sheer luck. I have made similar visualization scripts for my own needs, maybe this can be merged in this repo?

https://github.com/lrq3000/neuro-python-plotting

There is some overlap with what you made here, but there are two notable differences:
1- my scripts focus on plotting a lot of maps on a single image, on a grid, to summarize the results. For example, plot_correl_maps_overview.ipynb is similar to #7 but can plot more than one result, for example it can plot multiple conditions and contrasts on a 2D grid, with shared colorbar to ease comparison.
2- I made another type of visualization that is not available here, the barplotwithsamples.ipynb notebook, which plots the effect sizes per group and per cluster. It can also automatically detect the clusters center coordinates and atlas regions names, and color them on an atlas and on the bar plots accordingly, which is a lot more readable than a legend. Example: https://github.com/lrq3000/neuro-python-plotting/blob/master/README.md

Note: some notebooks are not yet illustrated in the readme, because I will first publish the figures in my next paper before using them as examples :-)

Alluvial diagrams

Alluvials diagrams can be very useful to visualise a group difference in for example modularity or community structure. To the best of my knowledge R, Matlab or Python do not provide very intuitive ways of visualising this. Luckily there is quite a nice online tool to do this: http://app.raw.densitydesign.org

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.