connectivityCluster: Clustering neurons based on connectivity tables

Description Usage Arguments Details Value Functions See Also

View source: R/connectivityCluster.R

Description

Clustering neurons based on connectivity tables

Usage

 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,
  ...
)

Arguments

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 cos_dist)

knownStats

Whether or not to use knownOutputContribution and knownWeightRelative instead of the standard measures

unitNames

Optional vector argument of the neurons/types one wants to cluster

...

Arguments to be passed to hclust

nBag

a neuron bag

clusterOn

whether to cluster on the input vector, the output vector, or both

Details

Value

an object of class connectivityCluster. The object is a list with components:

inputsTable

The table of input connections to the neurons being clustered (can be NULL if clustered on outputs)

outputsTable

The table of output connections to the neurons being clustered (can be NULL if clustered on inputs)

distance

object containing a dissimilarity measure between the neurons being considered

hc

hclust object, result of clustering

grouping

grouping on which the clustering was made (neuron or type, or various supertypes)

Functions

See Also

clusterBag


jayaraman-lab/neuprintrExtra documentation built on Dec. 20, 2021, 10 p.m.