Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Analytics

Pre-computed analytics endpoints for dataset exploration. These query ClickHouse materialized views and return results quickly (cached for 5 minutes).

Requires Academic verification.

Dataset Summary

Row counts per compartment type:

curl -H "Authorization: Bearer $TOKEN" \
  https://api.syndb.xyz/v1/analytics/{dataset_id}/summary

Returns counts for neurons, synapses, dendrites, axons, pre-synaptic terminals, dendritic spines, vesicles, mitochondria, and other compartment types present in the dataset.

Neuron Morphometrics

Morphological statistics for neurons in a dataset:

curl -H "Authorization: Bearer $TOKEN" \
  https://api.syndb.xyz/v1/analytics/{dataset_id}/neuron-morphometrics

Returns distributions of mesh volume, surface area, sphericity, terminal count, and other morphometric features.

Z-Score Comparison

Standardized comparison of a metric across multiple datasets:

curl -H "Authorization: Bearer $TOKEN" \
  "https://api.syndb.xyz/v1/analytics/zscore-comparison?metric=mesh_volume&dataset_ids=uuid1,uuid2,uuid3"

Returns per-dataset z-scores normalized against the pooled distribution — useful for identifying outlier datasets.

Graph Summary

Network-level statistics for connectome datasets:

curl -H "Authorization: Bearer $TOKEN" \
  https://api.syndb.xyz/v1/analytics/{dataset_id}/graph-summary

Returns: node count, edge count, density, number of connected components, mean clustering coefficient.

Reciprocity

Fraction of bidirectional synaptic connections:

curl -H "Authorization: Bearer $TOKEN" \
  https://api.syndb.xyz/v1/analytics/{dataset_id}/reciprocity

Degree Distribution

Top neurons by connectivity:

curl -H "Authorization: Bearer $TOKEN" \
  https://api.syndb.xyz/v1/analytics/{dataset_id}/degree-distribution

Returns in-degree, out-degree, and total degree distributions.