Description Usage Arguments Details Value Author(s) Examples

Get statistics

1 2 | ```
## S4 method for signature 'ConsensusPartition'
get_stat(object, k = object@k)
``` |

`object` |
a |

`k` |
number of partitions. The value can be a vector. |

The statistics are:

- cophcor
cophenetic correlation coefficient. It measures if hierarchical clustering is applied on the consensus matrix, how good it correlates to the consensus matrix itself.

- PAC
proportion of ambiguous clustering, calculated by

`PAC`

.- mean_silhouette
the mean silhouette score.

- concordance
the mean probability that each partition fits the consensus partition, calculated by

`concordance`

.- area_increased
the increased area under ecdf to the previous k

- Rand
the Rand index which is the percent of pairs of samples that are both in a same cluster or both are not in a same cluster in the partition of

`k`

and`k-1`

.- Jaccard
the ratio of pairs of samples are both in a same cluster in the partition of

`k`

and`k-1`

and the pairs of samples are both in a same cluster in the partition`k`

or`k-1`

.

A matrix of partition statistics for all k.

Zuguang Gu <[email protected]>

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.