find_clusters: Extract the densely connected clusters

find_clustersR Documentation

Extract the densely connected clusters

Description

First forms clusters of compounds that are linked together. Then the clusters are pruned so that in the final clusters, each feature is linked to at least a set percentage of the other features in the cluster.

Usage

find_clusters(connections, d_thresh = 0.8)

Arguments

connections

data frame of pairs of signals that are linked together, output of find_connections

d_thresh

numeric, the minimum degree required for each signal in a cluster expressed as a percentage of the maximum degree in the cluster

Value

a list of clusters, each a list of:

  • features: character vector of the names of the features included in the cluster

  • graph: an igraph object of the cluster


antonvsdata/notame documentation built on Sept. 14, 2024, 11:09 p.m.