plot_rug: Renders the "rug" (host x pairwise association matrix) as a...

View source: R/visuals.R

plot_rugR Documentation

Renders the "rug" (host x pairwise association matrix) as a heatmap.

Description

Renders the "rug" (host x pairwise association matrix) as a heatmap.

Usage

plot_rug(
  rug,
  canonical_col_order = NULL,
  canonical_row_order = NULL,
  row_labels = NULL,
  cluster_obj = NULL,
  save_name = NULL
)

Arguments

rug

heatmap matrix output from summarize_Sigmas()

canonical_col_order

if not NULL, order of pairs (columns) to use

canonical_row_order

if not NULL, order of rows (hosts) to use

row_labels

optional parameter with row labels (ordered host short names)

cluster_obj

an optional pre-computed hierarchical clustering; if included, a dendrogram will be rendered from this

save_name

name with which to save heatmap file

Value

named list with column and row ordering


kimberlyroche/rulesoflife documentation built on May 7, 2023, 11:08 a.m.