Subset a ConsensusPartitionList object

# S3 method for ConsensusPartitionList
[[(x, i)

Arguments

x

A ConsensusPartitionList-class object.

i

Character index for combination of top-value methods and partitioning method in a form of e.g. SD:kmeans.

Value

A ConsensusPartition-class object.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

data(golub_cola)
golub_cola[["SD:kmeans"]]
#> A 'ConsensusPartition' object with k = 2, 3, 4, 5, 6.
#>   On a matrix with 4116 rows and 72 columns.
#>   Top rows (328) are extracted by 'SD' method.
#>   Subgroups are detected by 'kmeans' method.
#>   Performed in total 250 partitions by row resampling.
#>   Best k for subgroups seems to be 2.
#> 
#> Following methods can be applied to this 'ConsensusPartition' object:
#>  [1] "cola_report"             "collect_classes"        
#>  [3] "collect_plots"           "collect_stats"          
#>  [5] "colnames"                "compare_partitions"     
#>  [7] "compare_signatures"      "consensus_heatmap"      
#>  [9] "dimension_reduction"     "functional_enrichment"  
#> [11] "get_anno"                "get_anno_col"           
#> [13] "get_classes"             "get_consensus"          
#> [15] "get_matrix"              "get_membership"         
#> [17] "get_param"               "get_signatures"         
#> [19] "get_stats"               "is_best_k"              
#> [21] "is_stable_k"             "membership_heatmap"     
#> [23] "ncol"                    "nrow"                   
#> [25] "plot_ecdf"               "predict_classes"        
#> [27] "rownames"                "select_partition_number"
#> [29] "show"                    "suggest_best_k"         
#> [31] "test_to_known_factors"   "top_rows_heatmap"