get_param-ConsensusPartition-method: Get parameters

get_param-ConsensusPartition-methodR 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)

jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.