test_to_known_factors-DownSamplingConsensusPartition-method | R Documentation |
Test correspondance between predicted subgroups and known factors
## S4 method for signature 'DownSamplingConsensusPartition'
test_to_known_factors(object, k, known = get_anno(object),
p_cutoff = 0.05, verbose = FALSE)
object |
A |
k |
Number of subgroups. It uses all |
known |
A vector or a data frame with known factors. By default it is the annotation table set in |
p_cutoff |
Cutoff for p-values for the class prediction. Samples with p-value higher than it are omit. |
verbose |
Whether to print messages. |
The test is performed by test_between_factors
between the predicted classes and user's annotation table.
A data frame with the following columns:
number of samples used to test after filtered by p_cutoff
,
p-values from the tests,
number of subgroups.
Zuguang Gu <z.gu@dkfz.de>
data(golub_cola_ds)
test_to_known_factors(golub_cola_ds, k = 3)
test_to_known_factors(golub_cola_ds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.