Skip to contents

This function loads a projection schema into a motif object. Projections define internode connectivity within a network built using the motif.

Usage

load.projection.into.motif(
  motif,
  presynaptic_layer,
  postsynaptic_layer,
  density = NULL,
  presynaptic_density = 0.5,
  postsynaptic_density = 0.5,
  presynaptic_type = "default",
  postsynaptic_type = "default",
  max_col_shift_up = 0,
  max_col_shift_down = 0,
  connection_strength = 1
)

Arguments

motif

Motif object into which to load the projection.

presynaptic_layer

Character string giving layer of presynaptic neuron, e.g. "L2/3", "L4", "L5", "L6", etc.

postsynaptic_layer

Character string, or vector of character strings, giving layer of postsynaptic neuron, e.g. "L2/3", "L4", "L5", "L6", etc.

density

Numeric giving density of the projection; if left NULL, will use presynaptic_density and postsynaptic_density; if set, will use this value for both presynaptic_density and postsynaptic_density.

presynaptic_density

Numeric giving density of presynaptic neuron type in presynaptic layer (e.g., ratio of neurons per node, default: 0.5).

postsynaptic_density

Numeric giving density of postsynaptic neuron type in postsynaptic layer (e.g., ratio of neurons per node, default: 0.5).

presynaptic_type

Character string giving type of presynaptic neuron, e.g. "excitatory", "inhibitory", etc. (default: "principal").

postsynaptic_type

Character string giving type of postsynaptic neuron, e.g. "excitatory", "inhibitory", etc. (default: "principal").

max_col_shift_up

Maximum number of columns upwards (increasing columnar indexes) that the projection can reach (default: 0, should be positive integer).

max_col_shift_down

Maximum number of columns downwards (decreasing columnar indexes) that the projection can reach (default: 0, should be positive integer).

connection_strength

Numeric giving overall strength of the projection (default: 1.0).

Value

The updated motif object with the new projection loaded.