navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.interfaces.r.neuron2r
          • neuron2r()

    navis.interfaces.r.neuron2r¶

    navis.interfaces.r.neuron2r(x, unit_conversion=None, add_metadata=False)[source]¶

    Convert Neuron/List to corresponding R neuron/neuronlist object.

    Parameters:
    • x (TreeNeuron | Dotprops | NeuronList) –

    • unit_conversion (bool | int | float, optional) – If not False will multiply units by given factor.

    • add_metadata (bool, optional) – If False, will use minimal data necessary to construct the R neuron. If True, will add additional data associated with TreeNeuron - this could impact R functions. Currently not functional!

    Returns:

    Either R neuron or neuronlist depending on input.

    Return type:

    R neuron

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.