Generate an annotated heatmap using pheatmap packaged.
1 | annot_heatmap(mat, tidydf, annot1, annot2, title, scale, fontsize = 8)
|
mat |
Numeric matrix where each row is an antibody and each column is a sample. Column names should be sample names. |
tidydf |
Tidy dataframe of RFI and annotation data. |
annot1 |
Name of the column in tidydf containing the annotation data, as string. |
annot2 |
Optional argument. Name of the column in tidydf containing the second annotation data, as string. |
title |
Title of the graph as string. |
scale |
Logical. If TRUE, the heatmap will be scaled across rows (antibodies), if FALSE no scaling will be done. |
fontsize |
Single numeric indicating the size of the font in the
heatmap. Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.