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",
  ...
)

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

Examples

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