is_best_k-ConsensusPartitionList-method {cola}R Documentation

Test whether the current k is the best/optional k

Description

Test whether the current k is the best/optional k

Usage

## S4 method for signature 'ConsensusPartitionList'
is_best_k(object, k, ...)

Arguments

object

A ConsensusPartitionList-class object.

k

Number of subgroups.

...

Pass to suggest_best_k,ConsensusPartitionList-method.

Details

It tests on the partitions for every method.

Value

Logical vector.

Examples

data(golub_cola)
is_best_k(golub_cola, k = 3)

[Package cola version 1.8.1 Index]