fetchn_fafb | R Documentation |
fetchn_fafb
is a thin wrapper around the
catmaid::read.neurons.catmaid
function with the
additional convenience of automating conversion to a reference brain. Input
can also be a pre-downloaded neuronlist.
fetchdp_fafb
extends fetchn_fafb
by additionally converting
neurons to the dotprops
representation suitable for
nblast
.
fetchn_fafb(
skids,
mirror = TRUE,
conn = NULL,
pid = 1,
reference = nat.flybrains::FCWB,
...
)
fetchdp_fafb(skids, mirror = TRUE, conn = NULL, ...)
skids |
catmaid skeleton ids (see |
mirror |
whether to mirror the neuron (default |
conn |
a |
pid |
Project id (default 1) |
reference |
The reference brain to which the neurons will be
transformed, either a |
... |
Additional arguments passed to |
## Not run:
# fetch all neurons with an annotation exactly matching "KC" and convert
# to JFRC2013 space
kcs=fetchn_fafb("annotation:^KC$", reference=JFRC2013)
# supplying a neuronlist, it will mirror and convert the neurons
# to a reference brain
dc_nl=fetchn_fafb(dense_core_neurons, reference=JFRC2013)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.