fc_get_ids: Scrape FlyCircuit.tw for neuron IDs

View source: R/flycircuit-ids.R

fc_get_idsR Documentation

Scrape FlyCircuit.tw for neuron IDs

Description

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.

Usage

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.

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).

Value

A vector of all FlyCircuit IDs

Source

http://www.flycircuit.tw/

See Also

fc_read_neurons, fc_page, flycircuit-ids

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)

## End(Not run)

natverse/flycircuit documentation built on Jan. 26, 2023, 6:46 p.m.