test_to_known_factors-ConsensusPartitionList-method | 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 subgroups. 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 the following columns:
number of samples used to test after filtered by silhouette_cutoff
,
p-values from the tests,
number of subgroups.
If there are NA values, basically it means there are no efficient data points to perform the test.
Zuguang Gu <z.gu@dkfz.de>
test_between_factors
, test_to_known_factors,ConsensusPartition-method
data(golub_cola)
test_to_known_factors(golub_cola)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.