get_classes-DownSamplingConsensusPartition-method: Get subgroup labels

Description Usage Arguments Value Examples

Description

Get subgroup labels

Usage

1
2
## S4 method for signature 'DownSamplingConsensusPartition'
get_classes(object, k = object@k, p_cutoff = 0.05, reduce = FALSE)

Arguments

object

A DownSamplingConsensusPartition-class object.

k

Number of subgroups.

p_cutoff

Cutoff of p-values of class label prediction. It is only used when k is a vector.

reduce

Used internally.

Value

If k is a scalar, it returns a data frame with two columns:

If k is a vector, it returns a data frame of class labels for each k. The class label with prediction p-value > p_cutoff is set to NA.

Examples

1
2
3

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