Skip to contents

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/or pt_supervoxel_id. Supervoxels will be preferentially used to update the root_id column. Else a vector of BANC root IDs.

root.column

when x is a data.frame, the root_id column you wish to update

supervoxel.column

when x is a data.frame, the supervoxel_id column you wish to use to update root.column

position.column

when x is a data.frame, the position column with xyz values you wish to use to update supervoxel.column

use.cave

read from the best established CAVE tables and join by pt_supervoxel_id to update root_id

serial

if TRUE and x is a vector, calls banc_updateids on each ID in sequence to bufffer against connection failures. Slower.

Examples

if (FALSE) { # \dontrun{
banc_latestid("720575941520182775")
} # }