View source: R/consClustResTable.R
consClustResTable | R Documentation |
consClustResTable
create a dataframe of the consensus cluster results.
The dataframe presents the results of each iteration of the
ConsensusClusterPlus
algorithm, the
cluster consensus of each cluster and the list of the cluster elements with
their corresponding item consensus. The item consensus is taken with respect
to the variable's cluster allocation.
consClustResTable(neatmap_res)
neatmap_res |
Output from the |
A dataframe of the results of the consensus clustering.
Philippe Boileau , philippe_boileau@berkeley.edu
For more information on the consensus cluster and item consensus statistics, see Monti et al..
# create the data frame using the network, node and edge attributes df <- netsDataFrame(network_attr_df, node_attr_df, edge_df) # run the neatmap code on df neat_res <- neatmap(df, scale_df = "ecdf", max_k = 3, reps = 100, xlab = "vars", ylab = "nets", xlab_cex = 1, ylab_cex = 1) # get the consensus cluster results for each iteration consensus_res_df <- consClustResTable(neat_res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.