layer_white_bg | R Documentation |
Heatmap layer functions used to draw on the heatmap cells
layer_white_bg(j, i, x, y, w, h, fill)
layer_bg(j, i, x, y, w, h, fill, alpha)
layer_reticle(j, i, x, y, w, h, fill, color)
layer_dot(j, i, x, y, w, h, fill, hmdf, dot_size, alpha)
layer_bars(j, i, x, y, w, h, fill, col_fun, hmdf, alpha)
layer_pie(j, i, x, y, w, h, fill, palette, palcolor, hmdf, pie_size)
layer_violin(j, i, x, y, w, h, fill, hmdf, violin_fill)
layer_boxplot(j, i, x, y, w, h, fill, hmdf, boxplot_fill)
j |
An integer specifying the column index |
i |
An integer specifying the row index |
x |
A numeric vector specifying the x position |
y |
A numeric vector specifying the y position |
w |
A numeric vector specifying the width |
h |
A numeric vector specifying the height |
fill |
A character vector specifying the fill color |
alpha |
A numeric value between 0 and 1 specifying the transparency of the fill color |
color |
A character vector specifying the color of the reticle |
hmdf |
A dataframe used to create the annotation. Different from the data used to create the heatmap itself, which is aggregated data. This dataframe is the original data, where each cell could have multiple values. |
dot_size |
A numeric value specifying the size of the dot or a function to calculate the size from the values in the cell |
col_fun |
A function to calculate the color of the bars |
violin_fill |
A character vector specifying the fill color of the violin plot. If not provided, the fill color of row/column annotation will be used |
boxplot_fill |
A character vector specifying the fill color of the boxplot. If not provided, the fill color of row/column annotation will be used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.