plot3d.ngraph: Plot 3d representation of neuron (ngraph) with directed edges

View source: R/neuron-plot.R

plot3d.ngraphR Documentation

Plot 3d representation of neuron (ngraph) with directed edges

Description

Plot 3d representation of neuron (ngraph) with directed edges

Usage

## S3 method for class 'ngraph'
plot3d(x, type = "lines", soma = 1, labels = c("none", "nodes", "all"), ...)

Arguments

x

A ngraph object

type

They type of arrows (lines by default, see arrow3d for details).

soma

radius of soma (or FALSE to suppress plotting)

labels

Whether to label nodes/all points with their raw index (not id)

...

Additional arguments passed to arrow3d

Examples

plot3d(as.ngraph(Cell07PNs[[1]]), labels='nodes')

natverse/nat documentation built on Feb. 19, 2024, 7:19 a.m.