Matrix of pathway scores per sample. Columns are
samples, rows are pathways.
cases
(Optional) A vector of sample names that are cases in the
case/control experiment.
label_cases
Boolean value to indicate whether or not to label the
cases in the heatmap plot
case_control_titles
A vector of length two for naming of the 'Case'
and 'Control' groups (in order) (default = c('Case', 'Control'))
low
a string indicating the color of 'low' values in the score coloring gradient (default = 'green')
high
a string indicating the color of 'high' values in the score coloring gradient (default = 'red')
Value
A `ggplot2` object containing the heatmap plot. x-axis indicates
the samples. y-axis indicates the pathways. "Pathway Score" indicates the
pathway score of a sample. If `cases` are provided, the plot is divided
into 2 facets, named by the `case_control_titles`.