Description Usage Arguments Details Value Functions See Also
View source: R/connectivityCluster.R
Clustering neurons based on connectivity tables
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | connectivityCluster(
inputsTable = NULL,
outputsTable = NULL,
ROIs = NULL,
grouping = "type",
distance = cos_dist,
knownStats = FALSE,
unitNames = NULL,
...
)
clusterBag(
nBag,
ROIs = NULL,
clusterOn = c("inputs", "outputs", "both"),
grouping = c("type", "neuron", "bodyid", "supertype1", "supertype2", "supertype3",
"databaseType"),
distance = cos_dist,
knownStats = FALSE,
...
)
|
inputsTable |
The table of input connections to the neurons to cluster |
outputsTable |
The table of input connections to the neurons to cluster |
ROIs |
Which ROIs to consider. If NULL (the default) uses all the ROI present |
grouping |
grouping on which the clustering is to be made (neuron or type, or various supertypes) |
distance |
Which distance measure to use (defaults to |
knownStats |
Whether or not to use |
unitNames |
Optional vector argument of the neurons/types one wants to cluster |
... |
Arguments to be passed to |
nBag |
a neuron bag |
clusterOn |
whether to cluster on the input vector, the output vector, or both |
If both inputsTable
and outputsTable
are present, the clustering will be run on the combined connectivity vector. This is
controlled by the clusterOn
argument in clusterBag
.
weightRelative
is used for working on input vectors, and outputContribution
to work on output vectors
an object of class connectivityCluster
. The object is a list with components:
The table of input connections to the neurons being clustered (can be NULL if clustered on outputs)
The table of output connections to the neurons being clustered (can be NULL if clustered on inputs)
object containing a dissimilarity measure between the neurons being considered
hclust
object, result of clustering
grouping on which the clustering was made (neuron or type, or various supertypes)
clusterBag
: Cluster neurons in a bag
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.