Returns the logical side of each requested neuron. The side
can come from the manual side annotation in the FlyTable
metadata (when present) or be derived from the soma's position relative
to the Aedes midline via aedes_point_side.
Usage
aedes_soma_side(
ids,
method = c("auto", "manual", "position"),
threshold = 0,
mesh = aedes::aedes_neuropil_mesh,
chunksize = 20L,
cl = NULL,
version = NULL,
timestamp = NULL
)Arguments
- ids
Root IDs, a query string (see
aedes_ids), or a pre-fetched metadata data.frame fromaedes_meta(must contain aroot_idcolumn).- method
One of
"auto"(default),"manual","position". See Details.- threshold
Absolute X displacement (nm) below which
positionreports a soma as midline ("M"). Default0. Ignored bymanual.- mesh, chunksize, cl
Forwarded to
aedes_soma_position.- version, timestamp
Optional CAVE materialisation selectors, forwarded to
aedes_metaandaedes_soma_position.
Details
Methods:
autoTry
manualfirst, then fill any remainingNAs usingposition.manualRead the
sidecolumn ofaedes_meta. Values are uppercased; entries outside"L","R","M","U"becomeNA.positionClassify each soma by its signed displacement from the Aedes midline via
aedes_point_side.thresholdis forwarded as-is; the default0meanspositionnever returns"M"."M"is reserved for bilaterally symmetric / unpaired neurons annotated as such.