Description Usage Arguments Value Author(s) Examples
Test correspondance between predicted classes and known factors
1 2 3 | ## 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
The classifications are extracted for each depth.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 | data(golub_cola_rh)
# golub_cola_rh already has known annotations, so test_to_known_factors()
# can be directly applied
test_to_known_factors(golub_cola_rh)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.