Reorder the columns of an Iheatmap-class
object
Usage
# S4 method for class 'IheatmapHorizontal,integer'
reorder_cols(p, col_order, xname = current_xaxis(p))
# S4 method for class 'IheatmapVertical,integer'
reorder_cols(p, col_order)
Arguments
- p
Iheatmap-class
object- col_order
integer vector
- xname
name of xaxis to reorder, only applicable if object is oriented horizontally
Value
Iheatmap-class
object, which can be printed to generate
an interactive graphic
See also
add_row_clustering
, reorder_cols