Creates a `ComplexHeatmap` plot from `tbl_df`
# S3 method for default
heatmap(
.data,
.row,
.column,
.value,
annotation = NULL,
type = rep("tile", length(quo_names(annotation))),
transform = NULL,
.scale = "row",
palette_value = c("#440154FF", "#21908CFF", "#fefada"),
palette_discrete = list(),
palette_continuous = list(),
.abundance = NULL,
.horizontal = NULL,
.vertical = NULL,
log_transform = NULL,
palette_abundance = NULL,
...
)
A `tbl_df` formatted as | <ELEMENT> | <FEATURE> | <VALUE> | <...> |
The name of the column vertically presented in the heatmap
The name of the column horizontally presented in the heatmap
The name of the transcript/gene abundance column
Vector of quotes
A character vector of the set c(\"tile\", \"point\", \"bar\", \"line\")
A function, used to tranform .value row-wise (e.g., transform = log1p)
A character string. Possible values are c(\"none\", \"row\", \"column\", \"both\")
A character vector This is the palette that will be used as gradient for .value
A list of character vectors. This is the list of palettes that will be used for horizontal and vertical discrete annotations. The discrete classification of annotations depends on the column type of your input tibble (e.g., character and factor).
A list of character vectors. This is the list of palettes that will be used for horizontal and vertical continuous annotations. The continuous classification of annotations depends on the column type of your input tibble (e.g., integer, numerical, double).
DEPRECATED. Please use .value instead
DEPRECATED. Please use .column instead
DEPRECATED. Please use .row instead
DEPRECATED. Please use transform instead
DEPRECATED. Please use palette_value instead
Further arguments to be passed to ComplexHeatmap::Heatmap