consClustResTable {neatmaps} | R Documentation |
Consensus Cluster Results in a Table
Description
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.
Usage
consClustResTable(neatmap_res)
Arguments
neatmap_res |
Output from the |
Value
A dataframe of the results of the consensus clustering.
Author(s)
Philippe Boileau , philippe_boileau@berkeley.edu
References
For more information on the consensus cluster and item consensus statistics, see Monti et al..
Examples
# 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)
[Package neatmaps version 2.1.0 Index]