Find the latest id for a banc root id
Usage
banc_latestid(
rootid,
sample = 1000L,
cloudvolume.url = NULL,
Verbose = FALSE,
...
)
banc_updateids(
x,
root.column = "root_id",
supervoxel.column = "supervoxel_id",
position.column = "position",
use.cave = TRUE,
serial = FALSE,
...
)
Arguments
- rootid
One ore more FlyWire rootids defining a segment (in any form interpretable by
ngl_segments
)- sample
An absolute or fractional number of supervoxel ids to map to rootids or
FALSE
(see details).- cloudvolume.url
URL for CloudVolume to fetch segmentation image data. The default value of NULL chooses the flywire production segmentation dataset.
- Verbose
When set to
TRUE
prints information about what fraction of- ...
Additional arguments passed to
flywire_latestid
- x
a
data.frame
with at least one of:root_id
,pt_root_id
,supervoxel_id
and/orpt_supervoxel_id
. Supervoxels will be preferentially used to update theroot_id
column. Else a vector ofBANC
root IDs.- root.column
when
x
is adata.frame
, theroot_id
column you wish to update- supervoxel.column
when
x
is adata.frame
, thesupervoxel_id
column you wish to use to updateroot.column
- position.column
when
x
is adata.frame
, theposition
column with xyz values you wish to use to updatesupervoxel.column
- use.cave
read from the best established CAVE tables and join by
pt_supervoxel_id
to updateroot_id
- serial
if TRUE and x is a vector, calls
banc_updateids
on each ID in sequence to bufffer against connection failures. Slower.
See also
Other banc-ids:
banc_cellid_from_segid()
,
banc_ids()
,
banc_islatest()
,
banc_leaves()
,
banc_rootid()
,
banc_xyz2id()