Giter Club home page Giter Club logo

fancr's Introduction

fancr

natverse Docs R-CMD-check R-CMD-check

The goal of fancr is to support analysis of the Female Adult Nerve Cord dataset aka (FANC), especially autosegmentation data. Those data are made available by the FANC project led by Wei-Chung Allen Lee (Harvard) and his collaborators including John Tuthill and Sebastian Seung/Zetta.

To access FANC resources, you must have permissions to access the FANC autosegmentation dataset and have confirmed your acceptance of the FANC proofreading and data ownership guidelines. At this point you should have a linked Google account that will be authorised (see below) for access to FANC online resources.

Broadly speaking the fancr package is a thin wrapper over the fafbseg package setting up necessary default paths etc.

Installation

You can install the development version of fancr from github:

if(!requireNamespace('natmanager'))
  install.packages('natmanager')
natmanager::install('natverse', pkgs = 'flyconnectome/fancr')

# install required python packages esp cloudvolume/caveclient
fafbseg::simple_python()

To do anything useful with the fancr package, you need authorisation to access FANC resources. To prove your authorisation for programmatic access you must generate and store a token in your web browser after logging in to an approved Google account. This should be streamlined by running the following command in R (which will also set you up for Pythonic access via cloudvolume.)

# set up token - will open your browser to generate a new token
fanc_set_token()
# if you already have one do 
# fanc_set_token("<my token>")

To check that everything is set up properly, try:

dr_fanc()

fanc_xyz2id(cbind(34495, 82783, 1954), rawcoords=TRUE)
svids=fanc_leaves("648518346482929060")
head(svids)

Updating

You can just repeat the install instructions, but this ensures that all dependencies are updated:

natverse::natverse_update(update = T)
natmanager::install(pkgs = 'flyconnectome/fancr')
fafbseg::simple_python()

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.