Description Usage Arguments Value
Plot heatmap(s) of gene expression using different distance calculation methods.
1 2 3 4 5 6 7 8 9 10 11 12 |
expLog2 |
Expression matrix (preferably in log2 scale) with genes in rows and samples in named columns |
targets |
Phenotype data with columns with colors, e.g., color_Sex |
methods |
List of methods for distance calulation, individually passed to stats::dist(..., method) |
colorsFrom |
String passed to getColPats2 |
namesFrom |
Variable passed to getColPats2 |
filePath |
NULL or character; if given, output a PDF; default NULL |
width |
PDF width |
height |
PDF height |
treeheight_row |
Passed to pheatmap; default 0; 50 for pheatmap |
... |
Passed to pheatmap |
ggplot2 object and PDF if filePath is given
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.