makeClusterGraph: Convert AUROC matrix into a graph.

Description Usage Arguments Value

View source: R/graph_visualization.R

Description

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

Usage

1
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.


MetaNeighbor documentation built on Nov. 8, 2020, 5:40 p.m.