Coder Social home page Coder Social logo

r-for-brain-network's Introduction

R for brain network

  • Documentation of how to
    • Manipulate gifti (surface), nifti (volume), cifti (surf+vol) in R to generate network matrices
    • Calculate network metrics/measures
    • Analyze data
    • Visualize results.

Prerequisites

  • The gifti package is required to read in gifti files.

  • A forked version of the r package cifti is used for loading in cifti files from MSC data. The cifti files from MSC (at least the .dtseries storing functional time series) are in non-standard arrangement. Standard cifti would have rows x dense (vertex), whereas MSC's ciftis have dense (vertex) x column. Using the original cifti package would arrange the cifti from MSC incorrectly (as of 2/7/2019).

  • gridExtra & ggplotify for arranging the plots. pals for color pallete.

  • A forked version of the r package superheat is used for most of the visualization. Example:

Acknowledgments

  • The superheat package was super convenient for my work. Check out the original author's vignette for examples.
  • The gifti and cifti packages from John Muschelli are obviously critical for interacting with these data format.

r-for-brain-network's People

Contributors

mychan24 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.