Learn R Programming

richCluster (version 1.0.2)

plot_network_graph: Plot Network Graph for a Cluster

Description

This function visualizes a single cluster as a network graph.

Usage

plot_network_graph(
  cluster_result,
  cluster_num,
  distance_matrix,
  valuetype_list
)

Value

A plot object.

Arguments

cluster_result

The result from the clustering function.

cluster_num

The cluster number to plot.

distance_matrix

The distance matrix used for clustering.

valuetype_list

A list of value types (e.g., "Pvalue_1", "Padj_1") to use for node coloring.