test_to_known_factors-ConsensusPartition-method {cola}R Documentation

Test correspondance between predicted classes and known factors

Description

Test correspondance between predicted classes and known factors

Usage

## S4 method for signature 'ConsensusPartition'
test_to_known_factors(object, k, known = get_anno(object),
    silhouette_cutoff = 0.5, verbose = FALSE)

Arguments

object

A ConsensusPartition-class object.

k

Number of partitions. It uses all k if it is not set.

known

A vector or a data frame with known factors. By default it is the annotation table set in consensus_partition or run_all_consensus_partition_methods.

silhouette_cutoff

Cutoff for sihouette scores. Samples with value less than it are omit.

verbose

Whether to print messages.

Value

A data frame with columns:

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

test_between_factors

Examples

data(cola_rl)
test_to_known_factors(cola_rl[1, 1], known = 1:40)

[Package cola version 1.0.1 Index]