View source: R/flycircuit-ids.R
fc_get_ids | R Documentation |
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") )
url |
webpage of FlyCircuit neuron IDs to scrape |
rval |
Whether to return the neuron IDs alone or a data.frame with additional information. |
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
).
A vector of all FlyCircuit IDs
fc_read_neurons
,
fc_page
, flycircuit-ids
## 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.