Learn R Programming

nat.nblast (version 1.6.7)

calc_dists_dotprods: Calculate distances and dot products between two sets of neurons

Description

Calculate distances and dot products between two sets of neurons

Usage

calc_dists_dotprods(
  query_neurons,
  target_neurons,
  subset = NULL,
  ignoreSelf = TRUE,
  ...
)

Value

A list, one element for for pair of neurons with a 2 column data.frame containing one column of distances and another of absolute dot products.

Arguments

query_neurons

a neuronlist to use for calculating distances and dot products.

target_neurons

a further neuronlist to use for calculating distances and dot products.

subset

a data.frame specifying which neurons in query_neurons and target_neurons should be compared, with columns specifying query and target neurons by name, with one row for each pair. If unspecified, this defaults to an all-by-all comparison.

ignoreSelf

a Boolean indicating whether to ignore comparisons of a neuron against itself (default TRUE).

...

extra arguments to pass to NeuriteBlast.

Details

Distances and dot products are the raw inputs for constructing scoring matrices for the NBLAST search algorithm.