crantr 0.3.0
Fast local synapse snapshots for connectivity queries at any time up to the present, plus mirroring across the midline and fast L2 dotprops for mirrored NBLAST. See vignette("synapse-snapshots").
- New local synapse snapshot functions, using the snapshot code in aedes (Suggests):
crant_use_snapshot(),crant_download_snapshot(),crant_update_snapshot(),crant_synapse_data(),crant_snapshot_root()andcrant_publish_snapshot(). The first download is about 1.8 GB; daily checkpoints are then fetched automatically (#4). -
crant_partner_summary()andcrant_partners()gainmethod = c("auto", "cave", "local")and explicitversion/timestamp;"auto"answers from the selected snapshot when possible, otherwise CAVE as before (#4). -
data-rawscripts to download a CAVE synapse table and build the first snapshot, and an internalcrant_synsnap_server()with a cron script (inst/scripts/synsnap-cron.sh) to make and publish daily checkpoints (#4). - New
crant_mirror()mirrors points, neurons, meshes and dotprops across the midline (nm or microns), keeping dotprops tangent vectors (#5). - New
crant_mirror_tpsdataset: a thin plate spline mirror registration built from CRANT synapse density (#5). - New
crant_read_l2dp()quickly fetches dotprops suitable for NBLAST from the L2 cache, via python fafbseg using the CRANT token (#6). - New vignette on synapse snapshots (fc00222).
- Fixed
crant_updateids()bookkeeping of old ids during the position-based update (3eb567b). - Documentation regenerated with roxygen2 8.1.0 (01fed0b).
Full Changelog: https://github.com/flyconnectome/crantr/compare/7861ea3…v0.3.0
crantr 0.2.1
- New
crant_key_point()returns a “good” annotation point on a neuron: the principal branch point of its L2 skeleton, with the neuron optionally rerooted onto its furthest endpoint first. Shares the dataset-agnosticfafbseg::key_point_from_neuron()helper but reads viacrant_read_l2skel()because the CRANT segmentation is hosted on a separate CAVE server thatfafbseg::read_l2skel()cannot currently reach (requiresfafbseg (>= 0.15.15)).
crantr 0.2.0
Metadata rework, now backed by fafbseg::cam_meta() (requires fafbseg (>= 0.15.12)):
-
crant_meta()is now a thin wrapper aroundfafbseg::cam_meta()pointed at the CRANTb_meta seatable. Column normalisation to the coconat/crantr schema is opt-in vianormalise_colnames = TRUE, andtranslate_idsis exposed to keep returned root ids consistent with a requestedversion/timestamp. -
crant_meta()gainsdrop_status(default"DUPLICATED") so CRANT’s known duplicate rows are filtered by default; passdrop_status = NULLto keep them. -
crant_ids()gainsna.rm(defaultFALSE) to drop missing root ids. The coconat id functions set this so CRANTb_meta’s incomplete rows no longer surface as spurious null-segment"0"ids. - Fixed
crant_ids()query lookup and itsinteger64default. - The legacy metadata cache API is deprecated in favour of the above.
