prune_in_volume: Prune neuron within neuropil volume

View source: R/prune.R

prune_in_volumeR Documentation

Prune neuron within neuropil volume

Description

Prune neuron within neuropil volume

Usage

prune_in_volume(
  x,
  brain = nat.flybrains::FCWBNP.surf,
  neuropil = "LH_R",
  invert = TRUE,
  ...
)

## S3 method for class 'neuron'
prune_in_volume(
  x,
  brain = nat.flybrains::FCWBNP.surf,
  neuropil = "LH_R",
  invert = TRUE,
  ...
)

## S3 method for class 'neuronlist'
prune_in_volume(
  x,
  brain = nat.flybrains::FCWBNP.surf,
  neuropil = "LH_R",
  invert = TRUE,
  ...
)

Arguments

x

a neuron object

brain

The hxsurf object containing the neuropil of interest, e.g. FCWBNP.surf

neuropil

Character vector specifying the neuropil

invert

Logical when TRUE indicating that points outside the

...

Additional arguments for methods (eventually passed to prune.default) surface should be pruned.

Details

Prune neuron inside subvolume of a segmented brain object.


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.