plotMetaClusters: Plot meta-cluster badges, each badge is a small AUROC heatmap...

Description Usage Arguments

View source: R/meta_clusters.R

Description

Plot meta-cluster badges, each badge is a small AUROC heatmap restricted to a specific meta-cluster.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotMetaClusters(
  meta_clusters,
  best_hits,
  reorder = FALSE,
  cex = 1,
  study_cols = NULL,
  auroc_breaks = c(0, 0.5, 0.7, 0.9, 0.95, 0.99, 1),
  auroc_cols = (grDevices::colorRampPalette(c("white", "blue")))(length(auroc_breaks) -
    1)
)

Arguments

meta_clusters

Meta-cluster list generated by extractMetaClusters.

best_hits

Matrix of AUROCs used to extract meta-clusters.

reorder

Reorder datasets by similarity for each badge? By default, the same dataset ordering is used for each badge.

cex

Size factor controling label size.

study_cols

Named vector where values are RGB colors and names are unique study identifiers (corresponding to study_id). If NULL, a default color palette is used.

auroc_breaks

Numeric vector used to bin AUROC values for color coding.

auroc_cols

Vector containing RGB colors used to encode AUROC levels. The length of auroc_cols must correspond to the length of auroc_breaks - 1.


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