Plot FlyCircuit neurons using rgl
plot3dfc(id, col, db = getOption("nat.default.neuronlist"), ...)
id | Vector of FlyCircuit gene or neuron names or idids (passed to
|
---|---|
col | Function or vector specifying colour. |
db | Object of class |
... | Additional arguments for |
List of rgl stack ids (see rgl::plot3d).
Colour defaults to black for a single neuron or rainbow(length(id)) when more than one neuron is plotted. It can be specified as a function, a vector (length(id)) or a single recycled value.
By default when more than 200 neurons are plotted in a single call rgl redraw is suspended. This can be >10x faster.
npop3d
can be used to remove the last plotted
neurons.
Plotted soma positions (when soma=TRUE
) is passed as an
additional argument for plot3d.neuronlist are a prediction based on
location in the FlyCircuit template brain mapped onto my selected template.
The positions are looked up in the df attribute of the neuronlist.
open3d()#> glX #> 2