GithubHelp home page GithubHelp logo

sidchop / ggseg3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ggseg/ggseg3d

0.0 1.0 0.0 527.59 MB

ggseg3d R package for cisualising brain atlases through plotly

Home Page: https://lcbc-uio.github.io/ggseg3d/

License: Other

R 93.68% Shell 6.32%

ggseg3d's Introduction

ggseg3d

Travis build status AppVeyor build status Coverage status CRAN status Lifecycle: maturing

This package mainly contains a plotting function ggseg3d and data.frames of different brain atlases for plotting. Plotting results of analyses on regions or networks often involves swapping between statistical tools, like R and Matlab, and software for brain imaging to correctly visualise analysis results.

This package aims to make it possible to plot results directly through R.

Atlases

There are currently four atlases available in the package:

  1. dk_3d - Desikan-Killany atlas (aparc).
  2. aseg_3d - Automatic subcortical segmentation.

We are working on creating a detailed description in the wiki on how to create and contribute atlases to the package. The ggseg3d function already allows you to provide it with a data.frame of a custom atlas if you have it, but is must correspond to certain specifications to work.

Please see the wiki for information on adding atlases, or inspect the included datasets for requirements. If anything is unclear in the wiki, give us a shout out in the issues!

You may find more atlases in the companion package ggsegExtra.

Installation

The package can be installed using {remotes}. The package includes some large datasets for the brain coordinates. Please be patient during download and install, it will take some time.

install.packages("remotes")
remotes::install_github("LCBC-UiO/ggseg3d", build_vignettes = TRUE)

The functions are now installed, and you may load them when you want to use them. All functions are documented in standard R fashion.

Use

The package also has a vignette, to help you get started using it. You can access it here, or via R:

library(ggseg3d)
vignette("ggseg3d")
p <- ggseg3d(atlas=dk_3d) %>% 
  remove_axes() %>% 
  pan_camera("right lateral")

p <- ggseg3d(atlas=aseg_3d) %>% 
  add_glassbrain() %>% 
  remove_axes() %>% 
  pan_camera("right lateral")

Report bugs or requests

Don’t hesitate to ask for support using github issues, or requesting new atlases. While we would love getting help in creating new atlases, you may also request atlases through the issues, and we will try to get to it.

Funding

This tool is partly funded by:

EU Horizon 2020 Grant: Healthy minds 0-100 years: Optimising the use of European brain imaging cohorts (Lifebrain).

Grant agreement number: 732592.

Call: Societal challenges: Health, demographic change and well-being

ggseg3d's People

Contributors

bfgray3 avatar brennanpincardiff avatar didacvp avatar drmowinckels avatar muschellij2 avatar sidchop 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.