Scrape neuron IDs from http://www.flycircuit.tw/, which may then be read into R using fc_read_neurons. Note, this function can be quite slow to run.

fc_get_ids(url = paste0("http://www.flycircuit.tw/modules.php",
  "?name=browsing&op=listGene_v2"), rval = c("neuronid", "data.frame"))

Arguments

url

webpage of FlyCircuit neuron IDs to scrape

rval

Whether to return the neuron IDs alone or a data.frame with additional information.

Source

http://www.flycircuit.tw/

Value

A vector of all FlyCircuit IDs

Details

There have now been multiple releases of FlyCircuit neurons. This function has been tested with v1.2 current as of 2019-08-25. The original id functions (flycircuit-ids) are targeted at version 1.0. Several neuron ids have been retired between v1.0 and v1.2. Furthermore the integer ids used in v1.0 (idid) are not compatible with those in v1.2 (nid).

See also

Examples

# NOT RUN {
# Let's get all the FlyCircuit neurons we can
fc.ids = fc_get_ids()
fcns <- fc_read_neurons(fc.ids)
plot3d(fcns)
plot3d(FCWB, alpha = 0.1)
# }