makeClusterGraph {MetaNeighbor}R Documentation

Convert AUROC matrix into a graph.

Description

This representation is a useful alternative for heatmaps for large datasets and sparse AUROC matrices (MetaNeighborUS with one_vs_best = TRUE)

Usage

makeClusterGraph(best_hits, low_threshold = 0, high_threshold = 1)

Arguments

best_hits

Matrix of AUROCs produced by MetaNeighborUS.

low_threshold

AUROC threshold value. An edge is drawn between two clusters only if their similarity exceeds low_threshold.

high_threshold

AUROC threshold value. An edge is drawn between two clusters only if their similarity is lower than high_threshold (enables focusing on close calls).

Value

A graph in igraph format, where nodes are clusters and edges are AUROC similarities.


[Package MetaNeighbor version 1.10.0 Index]