setClusters: Add a cluster column to the tables of a connectivityCluster...

Description Usage Arguments Value Functions

View source: R/connectivityCluster.R

Description

Add a cluster column to the tables of a connectivityCluster object Add a cluster column to the tables of a connectivityCluster object, either for the neurons being clustered (with setClusters) or for the partner neurons (with addClusters)

Usage

1
2
3
setClusters(connCl, h = 0.8, k = NULL)

addClusters(connCl, partnerClusters, h = 0.8, k = NULL)

Arguments

connCl

A connectivityCluster object to augment

h

To be passed to cutree to define the clusters

k

To be passed to cutree to define the clusters

partnerClusters

Either a named vector (as returned by cutree) or a connectivityCluster object defining a clustering on the partner neurons in connCl

Value

A connectivityCluster, whith added columns cluster.from and cluster.to in the corresponding connectivity table

Functions


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