get_param-ConsensusPartition-method: Get parameters

Description Usage Arguments Details Value Author(s) Examples

Description

Get parameters

Usage

1
2
## 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

1
2
3
4
5
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
get_param(obj)
get_param(obj, k = 2)
get_param(obj, unique = FALSE)

cola documentation built on Nov. 8, 2020, 8:12 p.m.