Description Usage Arguments Details Value Author(s) Examples
Collect classes from ConsensusPartitionList object
1 2 3 4 | ## S4 method for signature 'ConsensusPartitionList'
collect_classes(object, k, show_column_names = FALSE,
anno = get_anno(object), anno_col = get_anno_col(object),
simplify = FALSE, ...)
|
object |
A |
k |
Number of subgroups. |
show_column_names |
Whether to show column names in the heatmap (which is the column name in the original matrix). |
anno |
A data frame of annotations for the original matrix columns. By default it uses the annotations specified in |
anno_col |
A list of colors (color is defined as a named vector) for the annotations. If |
simplify |
Internally used. |
... |
Pass to |
There are following panels in the plot:
a heatmap showing partitions predicted from all methods where the top annotation is the consensus partition summarized from partitions from all methods, weighted by mean silhouette scores in every single method.
a row barplot annotation showing the mean silhouette scores for different methods.
The row clustering is applied on the dissimilarity matrix calculated by cl_dissimilarity
with the comembership
method.
The brightness of the color corresponds to the silhouette scores for the consensus partition in each method.
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
1 2 | data(golub_cola)
collect_classes(golub_cola, k = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.