View source: R/build_heatmaps.R
build_heatmaps | R Documentation |
Takes matrix list generated from MEM
as input and outputs MEM labels, heatmap of population median values, and heatmap of MEM scores.
build_heatmaps(
MEM_values,
cluster.MEM = "both",
cluster.medians = "none",
cluster.IQRs = "none",
display.thresh = 1,
output.files = FALSE,
labels = FALSE,
only.MEMheatmap = FALSE)
MEM_values |
List of matrices generated as output from |
cluster.MEM |
|
cluster.medians |
|
cluster.IQRs |
|
display.thresh |
Numeric; 0-10. Markers with enrichment scores that are equal to or greater than |
output.files |
|
labels |
|
only.MEMheatmap |
|
Heatmaps are clustered using the default complete linkage hierarchical clustering in the hclust
function. See heatmap.2
and hclust
for more information.
Heatmaps of median, IQR, and MEM values on each population; optionally written to file.
Kirsten Diggins, Sierra Lima, Jonathan Irish
Diggins et al., Nature Methods, 2017
MEM
, heatmap.2
, hclust
# Use output from MEM function or use example data with
data(MEM_values)
build_heatmaps(
MEM_values,
cluster.MEM = "both",
cluster.medians = "none",
cluster.IQRs = "none",
display.thresh = 1,
output.files = TRUE,
labels = FALSE,
only.MEMheatmap = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.