Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/build_heatmaps.R
Takes matrix list generated from MEM
as input and outputs MEM labels, heatmap of population median values, and heatmap of MEM scores.
1 2 3 |
exp_data |
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 |
newWindow.heatmaps |
|
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. X11
is used to open plots in a new window. When windows open, user must click within the window to permit R to print the heatmap to that window (the window will remain blank until user clicks on it).
Kirsten Diggins, Sierra Barone, Jonathan Irish
Diggins et al., Nature Methods, 2017
1 2 3 4 5 6 7 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
build.heatmaps(MEM_values, cluster.MEM = "both", cluster.medians = "none",
cluster.IQRs = "none", newWindow.heatmaps=FALSE, 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.