R/hemibrain_meta.R
fafb_hemibrain_annotate.Rd
Set annotations for FAFB neurons in CATMAID based on matches made to hemibrain neurons.
E.g. transfer information on matches and cell body fibers, and also update lineage related information.
Not that catmaid::flywire_matching_rewrite()
will write annotations related to flywire.
fafb_hemibrain_annotate(x, flywire = TRUE, ...) fafb_set_hemilineage( find, ito_lee_hemilineage, dataset = c("FAFB", "hemibrain"), putative = TRUE, delete.find = FALSE, ... ) fafb_set_transmitter( find, dataset = c("FAFB", "hemibrain"), putative = TRUE, transmitter = c("acetylcholine", "GABA", "glutamate"), delete.find = FALSE, ... )
x | a vector of FAFB skeleton IDs (skids) that can be read with |
---|---|
flywire | logical. Whether or not to add flywire-related annotation information, e.g. a corresponding position in flywire voxel space and a matching, cognate flywire ID. |
... | arguments passed to |
find | an annotation/search term/vector of skids passed to |
ito_lee_hemilineage | character, the correct K. Ito / T. Lee hemilineage. Must be an entry in |
dataset | either FAFB or hemibrain. If hemibrain, then |
putative | if |
delete.find | logical, is |
transmitter | character, the known or putative transmitter identity of the neurons that will be fetched using |
annotations set on CATMAID neurons in specified CATMAID instance, see your catmaid::catmaid_connection()
# \donttest{ if (FALSE) { # Transfer information on the VA6 uPN fafb_hemibrain_annotate("16") # Annotate all GABAergic MBONs in FAFB as GABAergic bodyids = c(1016835041, 1048215779, 1078693835, 672352543, 613719036, 581678043, 673085197, 706840303, 768555687, 5812982924, 424767514, 517518166); fafb_set_transmitter(find=bodyids,dataset="hemibrain",transmitter="GABA", putative = FALSE) }# }