Wrapper function to compute all by all NBLAST scores for a set of neurons
Source:R/neuriteblast.r
nblast_allbyall.RdCalls nblast to compute the actual scores. Can accept
either a neuronlist or neuron names as a character
vector. This is a thin wrapper around nblast and its main advantage
is the option of "mean" normalisation for forward and reverse scores, which
is the most sensible input to give to a clustering algorithm as well as the
choice of returning a distance matrix.
Arguments
- x
Input neurons (
neuronlistor character vector)- ...
Additional arguments for methods or
nblast- smat
the scoring matrix to use (see details of
nblastfor meaning of defaultNULLvalue)- db
A
neuronlistor a character vector naming one. Defaults to value ofoptions("nat.default.neuronlist")- distance
logical indicating whether to return distances or scores.
- normalisation
the type of normalisation procedure that should be carried out, selected from
'raw','normalised'or'mean'(i.e. the average of normalised scores in both directions). Ifdistance=TRUEthen this cannot be raw.
Details
Note that nat already provides a function
nhclust for clustering, which is a wrapper for R's
hclust function. nhclust actually expects raw scores
as input.
