View source: R/pathway_heatmap.R
| compute_correlation_distance | R Documentation |
Compute correlation distance with zero-variance safeguards
compute_correlation_distance(values, method = "pearson", item_label = "items")
values |
Numeric matrix with items in rows and variables in columns |
method |
Correlation method passed to stats::cor |
item_label |
Human-readable item label for messages |
A dist object equal to 1 - correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.