Skip to content

aedes_partner_summary(): Aedes-aware wrapper for flywire_partner_summary - #14

Merged
jefferis merged 1 commit into
mainfrom
feature/aedes-partner-summary
Aug 23, 2026
Merged

aedes_partner_summary(): Aedes-aware wrapper for flywire_partner_summary#14
jefferis merged 1 commit into
mainfrom
feature/aedes-partner-summary

Conversation

@jefferis

Copy link
Copy Markdown
Member

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"):

  • resolves the query via aedes_ids(),
  • points fafbseg at the Aedes segmentation,
  • updates root ids to the requested version/timestamp before querying,
  • defaults the synapse table to the coconatfly.aedes.synapses option ("synapses_v2").

Output schema

One row per partner neuron: query (query neuron root id), weight (synapse count), and the partner id in post_id (partners = "outputs") or pre_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/weight schema, the single-query-neuron invariant, and threshold filtering, and skips gracefully when the transform or CAVE synapse services are unreachable. Passes live (5/5) at time of writing.

Note

This wrapper forwards ... to fafbseg::flywire_partner_summary(). The new surf/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

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.
@jefferis
jefferis merged commit 74a213a into main Aug 23, 2026
2 checks passed
@jefferis
jefferis deleted the feature/aedes-partner-summary branch September 7, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant