clone_pores#

clone_pores(network, pores, labels=['clone'], mode='parents')[source]#

Clones the specified pores and adds them to the network

Parameters:
  • network (Network) – The Network object to which the new pores are to be added

  • pores (array_like) – List of pores to clone

  • labels (str, or list[str]) – The labels to apply to the clones, default is ‘clone’

  • mode (str) –

    Controls the connections between parents and clones. Options are:

    mode

    description

    ’parents’

    Each clone is connected only to its parent.(Default)

    ’siblings’

    Clones are only connected to each other in the same manner as parents were connected.

    ’isolated’

    No connections between parents or siblings