Add a scatter or line plot with one point per column of the main heatmap
# S4 method for Iheatmap add_col_plot( p, y, ..., mode = c("lines+markers", "lines", "markers"), color = NULL, tracename = NA_character_, showlegend = !is.na(tracename), side = c("top", "bottom"), layout = list(), size = 0.2, buffer = 0.02, xname = current_xaxis(p), yname = NULL, pname = if (!is.na(tracename)) tracename else "col_plot" )
y axis values
mode of plot -- one of "lines+markers","lines", or "markers"
color of bars
name of trace (for legend and hover)
show in legend?
side of plot on which to add subplot
yaxis layout list
relative size of subplot relative to main heatmap
amount of space to leave empty before this plot, relative to size of first heatmap
internal name of xaxis
internal name of yaxis
internal name of plot
Iheatmap-class object, which can be printed to generate
an interactive graphic