Giter VIP home page Giter VIP logo

nat.examples's Introduction

nat.examples

Sample code for the NeuroAnatomy Toolbox (nat) R package

Contents

  1. Library installation and basic example
  2. Grosjean et al 2011 Drosophila Projection Neuron Data
  3. Helmstaedter et al 2013 Mouse Retinal Connectome
  4. Sumbul et al 2014 Mouse Retinal Ganglion Cells
  5. Miyasaka et al 2014 Zebrafish Mitral Cell Projectome
  6. Lee et al 2012 Traced Drosophila neurons
  7. Heinze et al 2013 Traced Monarch butterfly neurons

Using these examples

  1. Install R for your platform
  2. Optionally install RStudio IDE
  3. Start R or RStudio
  4. Now install (once only) and load nat package from within R
install.packages("nat")
library(nat)

Each example (except the very basic 01-setup) assumes that R's current working directory has been set to the relevant folder. This will be handled by the 00-setup.R script in each folder if it is called like this:

source('/path/to/nat.examples/02-grosjean20011/00-setup.R')

Do not use the chdir=TRUE option (even if your IDE wants to do this for you).

You can also set the path yourself manually e.g.

setwd('/path/to/nat.examples/02-grosjean20011/')

Once you have run the 00-setup.R script you can start start running bits of code interactively (e.g. with copy paste or RStudio's "Run selection* menu option).

Acknowledgements

We insist that you cite the original authors of each study if you make use of the data that they have released. Please also cite this repository (https://github.com/natverse/nat.examples) if you make use of specific example code along with the https://github.com/natverse/nat package.

nat.examples's People

Contributors

jefferis avatar alexanderbates avatar sridharjagannathan avatar jdmanton 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.