get_param-ConsensusPartition-method {cola} | R Documentation

## Get parameters

### Description

Get parameters

### Usage

    ## S4 method for signature 'ConsensusPartition'
    get_param(object, k = object@k, unique = TRUE)

### Arguments

`object` | A `ConsensusPartition-class` object.
`k` | Number of partitions.
`unique` | Whether apply `unique` to rows of the returned data frame.

### Details

It is mainly used internally.

### Value

A data frame of parameters corresponding to the current k. In the data frame, each row corresponds to a partition run.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(cola_rl)
    obj = cola_rl["sd", "kmeans"]
    get_param(obj)
    get_param(obj, k = 2)
    get_param(obj, unique = FALSE)

[Package cola version 1.0.1 Index]