|# download NBLAST all by all score matrix (used e.g. for hierarchical clustering)|
|# this downloads a single 2Gb file to your machine as a one-off|
|# set that as default all by all score matrix|
|# load neuron list|
|# the actual neuron data will be downloaded and cached to your machine on demand|
|# set default neuronlist|
If you want you can run the gist like this:
There is a bug in devtools::source_gist v 1.12.0 (current 2016-08-14), so you may need to do this:
Then try e.g.
If you want to download all the neurons then it will be painful if you do this automatically because each neuron will be downloaded one at a time. It is much better to download them all in one go (with a nice progress bar). This can be done as follows:
dps<-read.neuronlistfh("http://flybrain.mrc-lmb.cam.ac.uk/si/nblast/flycircuit/dpscanon.rds", localdir=getOption('flycircuit.datadir')) remotesync(dps,download.missing = TRUE)
It will still take a while (15m to overnight depending on location in the world).