test_to_known_factors-ConsensusPartition-method {cola} | R Documentation |
Test correspondance between predicted classes and known factors
## S4 method for signature 'ConsensusPartition' test_to_known_factors(object, k, known = get_anno(object), silhouette_cutoff = 0.5, verbose = FALSE)
object |
A |
k |
Number of partitions. It uses all |
known |
A vector or a data frame with known factors. By default it is the annotation table set in |
silhouette_cutoff |
Cutoff for sihouette scores. Samples with value less than it are omit. |
verbose |
Whether to print messages. |
A data frame with columns:
number of samples used to test after filtered by silhouette_cutoff
p-values from the tests
number of partitions
Zuguang Gu <z.gu@dkfz.de>
data(cola_rl) test_to_known_factors(cola_rl[1, 1], known = 1:40)