Convert (a subset of) a raw score matrix to a distance matrix
This function can convert a raw score matrix returned by nblast
into a square distance matrix or
dist object. It can be used with
file-backed matrices as well as regular R matrices resident in memory.
character vector of neuron identifiers.
score matrix to use (see
the type of object to return.
set this to a sensible value to avoid loading huge (order N^2) distances directly into memory.
Note that if
neuron_names is missing then the rownames of
scoremat will be used i.e. all neuron in scoremat will be used.
return An object of class matrix or dist (as determined by the form argument), corresponding to a subset of the distance matrix
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.