annot_heatmap: Annotated heatmap

Description Usage Arguments

Description

Generate an annotated heatmap using pheatmap packaged.

Usage

1
annot_heatmap(mat, tidydf, annot1, annot2, title, scale, fontsize = 8)

Arguments

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 pheatmap().


lucyleeow/RPPA documentation built on May 5, 2019, 3:46 a.m.