add_catmaply_single {catmaply} | R Documentation |
Add single Catmaply traces
Description
Function to produce a single catmaply trace without interactive legend.
Usage
add_catmaply_single(
fig,
df,
hover_hide,
color_palette,
categorical_color_range,
legend_items,
legend,
visible = 1,
colorbar_y = NA,
xgap,
ygap
)
Arguments
fig |
plotly object |
df |
data.frame or tibble holding the data. |
color_palette |
a color palette vector. |
legend_items |
distinct/unique items of ordered legend items |
legend |
boolean indicating if legend should be displayed or not; (default: TRUE). |
colorbar_y |
y position of colorbar; (default: NA). |
xgap |
Sets the horizontal gap (in pixels) between bricks. |
ygap |
Sets the vertical gap (in pixels) between bricks. |
Value
plot_ly object
[Package catmaply version 0.9.5 Index]