neuron_pairs {nat.nblast} | R Documentation |
Utility function to generate all or random pairs of neurons
Description
Utility function to generate all or random pairs of neurons
Usage
neuron_pairs(query, target, n = NA, ignoreSelf = TRUE)
Arguments
query , target |
either |
n |
number of random pairs to draw. When NA, the default, uses
|
ignoreSelf |
Logical indicating whether to omit pairs consisting of the
same neuron (default |
Value
a data.frame with two character vector columns, query and target.
See Also
calc_score_matrix, expand.grid
Examples
neuron_pairs(nat::kcs20, n=20)
[Package nat.nblast version 1.6.7 Index]