make_heatmap: This function takes in a dataframe with the relative amounts,...

Description Usage Arguments Author(s)

View source: R/make_heatmap.R

Description

This function creates an annotated heatmap, allowing visalization of sample Relative amount metabolite values, Norvaline values, Cell Number readings, and the experimental condition that each sample was run under. The 'width' and 'height' parameters allow user to manually set pdf output dimensions. Otherwise, pheatmap::pheatmap calculates the dimensions, but sometimes annotation legends/titles are cut off.

Usage

1
make_heatmap(matrix = RelA, samples = samples, heat.color = normal, width = 8, height = 5)

Arguments

matrix

A dataframe containing the relative amounts.

samples

A dataframe with information on the samples.

heat.color

The color scheme that is to be used in the heatmap.

to_cluster

Optional parameter (default is TRUE) indicating whether or not the outputted heatmap is to be clustered.

width

Optional parameter to set width dimensions of pdf output plot.

height

Optional parameter to set height dimensions of pdf output plot.

Author(s)

Gerardo Javier, Daniel Tan, Jordan Uyeki


juyeki/MetabR documentation built on Aug. 6, 2020, 3:32 a.m.