Synchronise a remote object
Object to synchronise with a remote URL
The remote URL to update from
Whether to download missing objects (default TRUE)
Whether to delete objects (default TRUE)
Additional arguments passed to methods
Character vector naming neurons to update (default
indices=NULL
implies all neurons).
Whether to update the neuronlistfh
object itself
on disk (default TRUE). Note that this assumes that the neuronlistfh
object has not been renamed after it was downloaded.
The updated neuronlistfh
object (invisibly)
Other neuronlistfh:
[.neuronlistfh()
,
neuronlistfh()
,
read.neuronlistfh()
,
write.neuronlistfh()
if (FALSE) {
kcs20=read.neuronlistfh('http://flybrain.mrc-lmb.cam.ac.uk/si/nblast/flycircuit/kcs20.rds')
# update object from the web
kcs20=remotesync(kcs20)
# download all neurons with significant innervation of the vertical lobe
mbvl_neurons=subset(kcs20, (MB_VL_R+MB_VL_L)>200, rval='names')
kcs20=remotesync(kcs20, indices=mbvl_neurons, download.missing=TRUE)
}