Plot of cluster assignments in an extended solutions data frame
Source:R/plot.R
plot.ext_solutions_df.RdThis plot, built on ComplexHeatmap::Heatmap(), visualizes the cluster
assignments in a solutions data frame as a categorical heatmap with
observations along the columns and clusters along the rows.
Arguments
- x
An
ext_solutions_dfobject.- y
Optional argument to
plot, not used in this method.- cluster_rows
If the value is a logical, it controls whether to make cluster on rows. The value can also be a
hclustor adendrogramwhich already contains clustering. Check https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#clustering .- cluster_columns
Whether make cluster on columns? Same settings as
cluster_rows.- show_row_names
Whether show row names.
- show_column_names
Whether show column names.
- heatmap_legend_param
A list contains parameters for the heatmap legends. See
color_mapping_legend,ColorMapping-methodfor all available parameters.- row_title
Title on the row.
- column_title
Title on the column.
- ...
Additional arguments passed to
ComplexHeatmap::Heatmap().
Value
A ComplexHeatmap::Heatmap() object visualization of cluster
assignments.