netdis.plot: Heatmap of Netdis many-to-many comparisons

View source: R/PlottingFunctions.R

netdis.plotR Documentation

Heatmap of Netdis many-to-many comparisons

Description

Provides a heatmap and dendrogram for the network comparisons via pheatmap.

Usage

netdis.plot(
  netdislist,
  whatrow = c(1, 2)[2],
  clustering_method = "ward.D",
  main = "Nedis",
  docluster = TRUE
)

Arguments

netdislist

Default output of netdis_many_to_many.

whatrow

Selection of the row in netdis_many_to_many$comp_spec to be used for plotting.

clustering_method

Clustering method as allowed in the pheatmap function from the pheatmap package. The dendrogram will appear if docluster is TRUE (default).

main

Title of the plot.

docluster

controls the order of the rows and columns. If TRUE (default) the rows and columns will be reordered to create the dendrogram. If FALSE, then only the heatmap is drawn.

Value

Provides a heatmap and dendrogram for the network comparisons via pheatmap.


alan-turing-institute/network-comparison documentation built on June 7, 2022, 10:41 p.m.