R/methods.R
heatmap-method.Rd
heatmap() takes a tbl object and easily produces a ComplexHeatmap plot, with integration with tibble and dplyr frameworks.
heatmap(
.data,
.row,
.column,
.value,
transform = NULL,
scale = "none",
palette_value = c("#440154FF", "#21908CFF", "#fefada"),
palette_grouping = list(),
.scale = NULL,
...
)
heatmap_(
.data,
.row,
.column,
.value,
transform = NULL,
scale = "none",
palette_value = c("#440154FF", "#21908CFF", "#fefada"),
palette_grouping = list(),
.scale = NULL,
...
)
# S4 method for class 'tbl'
heatmap(
.data,
.row,
.column,
.value,
transform = NULL,
scale = "none",
palette_value = c("#440154FF", "#21908CFF", "#fefada"),
palette_grouping = list(),
.scale = NULL,
...
)
# S4 method for class 'tbl_df'
heatmap(
.data,
.row,
.column,
.value,
transform = NULL,
scale = "none",
palette_value = c("#440154FF", "#21908CFF", "#fefada"),
palette_grouping = list(),
.scale = NULL,
...
)
[Mangiola and Papenfuss., 2020](https://joss.theoj.org/papers/10.21105/joss.02472)
A `tbl_df` formatted as | <ELEMENT> | <FEATURE> | <VALUE> | <...> |
The name of the column to use as rows
The name of the column to use as columns
The name of the column to use as values
A function to transform the data (optional)
One of "none", "row", "column", or "both" for scaling
A character vector of colors or a function for value colors
A list of color palettes for grouping annotations
DEPRECATED: Use scale instead
Additional arguments passed to ComplexHeatmap
An `InputHeatmap` object that gets evaluated to a `ComplexHeatmap`
A `InputHeatmap` object
A `InputHeatmap` object
A `InputHeatmap` object
This function takes a tbl as an input and creates a `ComplexHeatmap` plot. The information is stored in a `InputHeatmap` object that is updated along the pipe statement, for example adding annotation layers.
Mangiola, S. and Papenfuss, A.T., 2020. "tidyHeatmap: an R package for modular heatmap production based on tidy principles." Journal of Open Source Software. doi:10.21105/joss.02472.