plot.ext_solutions_df | R Documentation |
This 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.
## S3 method for class 'ext_solutions_df'
plot(
x,
y = NULL,
cluster_rows = TRUE,
cluster_columns = TRUE,
show_row_names = TRUE,
show_column_names = TRUE,
heatmap_legend_param = NULL,
row_title = "Solution",
column_title = "Observation",
...
)
## S3 method for class 't_ext_solutions_df'
plot(x, ...)
x |
An |
y |
Optional argument to |
cluster_rows |
If the value is a logical, it controls whether to make cluster on rows. The value can also be a |
cluster_columns |
Whether make cluster on columns? Same settings as |
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 |
row_title |
Title on the row. |
column_title |
Title on the column. |
... |
Additional arguments passed to |
A ComplexHeatmap::Heatmap()
object visualization of cluster
assignments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.