extractMetaClusters {MetaNeighbor}R Documentation

Extracts groups of reciprocal top hits from a 1-vs-best AUROC matrix.

Description

Note that meta-clusters are *not* cliques, but connected components, e.g., if 1<->2 and 1<->3 are reciprocal top hits, 1, 2, 3 is a meta-cluster, independently from the relationship between 2 and 3.

Usage

extractMetaClusters(best_hits, threshold = 0)

Arguments

best_hits

Matrix of AUROCs produced by MetaNeighborUS.

threshold

AUROC threshold. Two clusters belong to the same meta-cluster if they are reciprocal top hits and their similarity exceeds the threshold *both* ways (AUROC(1->2) > threshold *AND* AUROC(2->1) > threshold).

Value

A named list, where names are default meta-cluster names, and values are vectors of cluster names, one vector per meta-cluster. The last element of the list is called "outliers" and contains all clusters that had no match in any other dataset.


[Package MetaNeighbor version 1.13.0 Index]