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 subgroups.
`unique` | Whether to 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(golub_cola)
    obj = golub_cola["ATC", "skmeans"]
    get_param(obj)
    get_param(obj, k = 2)
    get_param(obj, unique = FALSE)

[Package cola version 1.8.1 Index]