Skip to contents

Return the size (in voxels) of specified bodies

Usage

manc_size(ids, node = "neutu", chunksize = 5000L, ...)

Arguments

ids

A set of body ids in any form understandable to manc_ids

node

A DVID node (defaults to the current neutu node, see manc_dvid_node)

chunksize

Split requests into chunks of maximum this size

...

Additional arguments passed to pbsapply

Value

Numeric vector of voxel sizes

See also

manc_neuprint_meta which returns the size of objects recorded in neuprint. This is much faster when up to date.

Examples

manc_size(10056)
#> Error in manc_dvid_node("neutu"): The package option malevnc.dataset is unset. Please set or manually reload package!
# zero as doesn't exist
manc_size(10000056)
#> Error in manc_dvid_node("neutu"): The package option malevnc.dataset is unset. Please set or manually reload package!
if (FALSE) { # \dontrun{
# try splitting up
ids=manc_size("class:Ascending Interneuron", chunksize=500L, cl=4)
} # }