test_to_known_factors-ConsensusPartition-method: Test correspondance between predicted and known classes

Description Usage Arguments Value Author(s) See Also Examples

Description

Test correspondance between predicted and known classes

Usage

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

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.

silhouette_cutoff

cutoff for sihouette scores. Samples with value less than this are omit.

Value

A data frame with columns:

Author(s)

Zuguang Gu <[email protected]>

See Also

test_between_factors

Examples

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

jokergoo/cola documentation built on Nov. 13, 2018, 1:22 p.m.