View source: R/flywire-skeleton.R
fafb14_to_flywire_ids | R Documentation |
Provide this function with a CATMAID query (skeleton IDs or an
annotation term, as you could provide to catmaid::catmaid_skids
) or
a nat::neuronlist
object in FAFB14 space, and it will return a
ranked list of flywire IDs that map onto the given neuron(s).
fafb14_to_flywire_ids(
search,
only.root = FALSE,
only.biggest = FALSE,
pid = 1L,
conn = NULL,
fetch.annotations = FALSE,
OmitFailures = FALSE,
...
)
search |
one or more skids or a CATMAID query expression. Else, a neuronlist of neurons in FAFB14 space. |
only.root |
only return one |
only.biggest |
only return one |
pid |
Project id (default 1) |
conn |
A |
fetch.annotations |
Whether or not to fetch the annotations for each
skeleton (default |
OmitFailures |
logical, whether to omit neurons that cannot be read from CATMAID. |
... |
Additional arguments passed to |
A data.frame
of ranked flywire IDs, and the number of points
in each CATMAID neuron that maps to that ID.
## Not run:
# a specific skid
df=fafb14_to_flywire_ids(16)
head(df)
# Get neurons from a specific CATMAID environment
## See catmaid package help for details on how to 'login'
# This is the Drosophila anatomy ontology identifier for DL1
# adult antennal lobe projection neuron DL1 adPN
# see \url{https://virtualflybrain.org} for details.
hits=fafb14_to_flywire_ids(search="FBbt:00067353", conn=catmaid::vfbcatmaid())
head(hits)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.