test_to_known_factors-HierarchicalPartition-method {cola} | R Documentation |
Test correspondance between predicted classes and known factors
## S4 method for signature 'HierarchicalPartition' test_to_known_factors(object, known = get_anno(object[1]), depth = 2:max_depth(object), verbose = FALSE)
object |
A |
depth |
Depth of the hierarchy. |
known |
A vector or a data frame with known factors. By default it is the annotation table set in |
verbose |
Whether to print messages. |
A data frame with columns:
number of samples
p-values from the tests
number of classes
Zuguang Gu <z.gu@dkfz.de>
data(cola_rh) test_to_known_factors(cola_rh, known = 1:60)