test_to_known_factors-ConsensusPartitionList-method {cola} | R Documentation |
Test correspondance between predicted classes and known factors
## S4 method for signature 'ConsensusPartitionList' 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 this are omit. |
verbose |
whether to print messages. |
The function basically sends each ConsensusPartition-class
object to
test_to_known_factors,ConsensusPartition-method
and merges results afterwards.
A data frame with columns:
number of samples used to test after filtering by silhouette_cutoff
p-values from the tests
number of partitions
Zuguang Gu <z.gu@dkfz.de>
test_between_factors
, test_to_known_factors,ConsensusPartition-method
data(cola_rl) test_to_known_factors(cola_rl, known = 1:40)