aedes_partner_summary(): Aedes-aware wrapper for flywire_partner_summary - #14
Merged
Conversation
Add an exported aedes_partner_summary() that tabulates the up- or downstream synaptic partners of one or more Aedes neurons. It is a thin wrapper around fafbseg::flywire_partner_summary(method="cave"): resolves the query via aedes_ids(), points fafbseg at the Aedes segmentation, and updates root ids to the requested version/timestamp before querying. Defaults the synapse table to the coconatfly.aedes.synapses option. Includes a live test pinned by a stable raw coordinate (resolved to the current root id at test time, per the root-ids-drift convention) that queries the latest materialisation and checks the query/post_id/weight schema, the query-neuron invariant, and threshold filtering. Skips gracefully when the transform or CAVE synapse services are unreachable. Also registers the export in NAMESPACE and adds a Connectivity section to the pkgdown reference index.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an exported
aedes_partner_summary()that tabulates the up- or downstream synaptic partners of one or more Aedes neurons, returning one row per partner with the connecting-synapse count.It's a thin Aedes-aware wrapper around
fafbseg::flywire_partner_summary(method = "cave"):aedes_ids(),version/timestampbefore querying,coconatfly.aedes.synapsesoption ("synapses_v2").Output schema
One row per partner neuron:
query(query neuron root id),weight(synapse count), and the partner id inpost_id(partners = "outputs") orpre_id(partners = "inputs").Test
Live test pinned by a stable raw coordinate (resolved to the current root id at test time, per the root-ids-drift convention), querying the latest materialisation. It checks the
query/post_id/weightschema, the single-query-neuron invariant, andthresholdfiltering, and skips gracefully when the transform or CAVE synapse services are unreachable. Passes live (5/5) at time of writing.Note
This wrapper forwards
...tofafbseg::flywire_partner_summary(). The newsurf/bounding-box pre-query arguments it can pass through currently live on an unmerged fafbseg branch; the wrapper itself works today against released fafbseg for the standard summary.🤖 Generated with Claude Code