meshparty_skeletonize: Skeletonize neurons using meshparty python library

View source: R/meshparty-reticulate.R

meshparty_skeletonizeR Documentation

Skeletonize neurons using meshparty python library

Description

Skeletonize neurons using meshparty python library

Usage

meshparty_skeletonize(segments, savedir = NULL, invalidation_d = 12000, ...)

Arguments

segments

neuron ids in any form understood by ngl_segments OR paths to obj files already saved to disk.

savedir

Where to save SWC files (defaults to temporary directory)

invalidation_d

Distance parameter (nm) controlling skeletonisation level of detail. See meshparty docs.

...

additional arguments passed to save_cloudvolume_meshes

Value

A character vector containing the path to one or more SWC files. Note that these SWCs will be calibrated in µm even though the input data are in nm.

See Also

simple_python for installation of the necessary Python packages.

Examples

## Not run: 
meshparty_skeletonize("720575940614134045")
meshparty_skeletonize("720575940614134045.obj")

## End(Not run)

natverse/fafbseg documentation built on Nov. 11, 2024, 9:50 p.m.