Description Usage Arguments Value
View source: R/neuron2polygon.R
Transforms a nat neuron object into a polygon that can be plotted in 2D
1 | neuron2polygon(neur, axis = c("x", "y"), progress = TRUE, cl = 10L)
|
neur |
A neuron or neuronList object |
axis |
Which axis do we want to project onto. Has to be a length 2 vector of "x", "y" or "z" |
progress |
When applied to neuronLists, whether to display a progress bar |
cl |
A cluster parameter, can be either an integer or a cluster object (see |
a dataframe with columns x, y, proj and bodyid. If neur
is a neuronlist there will be several bodyids.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.