Skip to contents

Find the root identifier of a banc neuron

Usage

banc_rootid(x, integer64 = FALSE, ...)

Arguments

x

One or more FlyWire segment ids

integer64

Whether to return ids as integer64 type (more compact but a little fragile) rather than character (default FALSE).

...

Additional arguments passed to pbapply::pbsapply and eventually to Python cv$CloudVolume object.

Value

A vector of root ids (by default character)

Examples

# \donttest{
banc_rootid("73186243730767724")
#> cannot import name 'ssl' from 'urllib3.util.ssl_' (/home/runner/.local/share/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/urllib3/util/ssl_.py)
#> Error: Please install the python cloudvolume package:
#> This should normally work:
#> fafbseg::simple_python('basic')
#> For more details see ?simple_python or the cloud-volume docshttps://github.com/seung-lab/cloud-volume#setup
#> If you have already installed cloudvolume but it is not found
#> then R probably can't find the relevant version of Python
#> Do:
#> usethis::edit_r_environ()
#>  to point to the right python
#> e.g. RETICULATE_PYTHON="/opt/miniconda3/envs/r-reticulate/bin/python"
# }