hemibrain_neuron_meshes: Read hemibrain neurite or mitochondrial meshes into an R...

View source: R/hemibrain_neuron_meshes.R

hemibrain_neuron_meshesR Documentation

Read hemibrain neurite or mitochondrial meshes into an R neuronlist object

Description

hemibrain_neuron_meshes reads standard neuron meshes

hemibrain_mito_meshes reads mitochondrial meshes

Usage

hemibrain_neuron_meshes(
  bodyids,
  lod = 2L,
  cloudvolume.url = NULL,
  conn = NULL,
  dataset = NULL,
  ...
)

hemibrain_mito_meshes(bodyids, lod = 2L, ...)

Arguments

bodyids

One more hemibrain body ids (including as expressions passed to neuprint_ids)

lod

the level of detail (highest resolution is 0, default of 2 gives a good overall morphology while 3 is also useful and smaller still)

cloudvolume.url

Optional a specific URL from which to download mesh data.

conn

A neuprint connection to the hemibrain dataset

dataset

Optionally specify which version of the hemibrain dataset to use (when NULL uses the most recent)

...

Additional arguments passed to nlapply

Value

A neuronlist object

Examples

## Not run: 
da2.lod3=hemibrain_neuron_meshes("DA2_lPN", lod=3)
da2.lod3

## End(Not run)
## Not run: 
da2=hemibrain_neuron_meshes("DA2_lPN")
# lod 2 ~ 5x bigger than lod 3 but does look nicer
da2
plot3d(da2)

da2mito=hemibrain_mito_meshes("DA2_lPN")

# if you just wanted one neuron (as a mesh3d object) rather than neuronlist
dl4=hemibrain_neuron_meshes("name:DL4_adPN_R")[[1]]

## End(Not run)

natverse/hemibrainr documentation built on July 17, 2025, 4:24 a.m.