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

# S3 method for 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')