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)
Arguments
neatmap_res: Output from the neatmap function.
Returns
A dataframe of the results of the consensus clustering.
Examples
# create the data frame using the network, node and edge attributesdf <- netsDataFrame(network_attr_df, node_attr_df, edge_df)# run the neatmap code on dfneat_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 iterationconsensus_res_df <- consClustResTable(neat_res)
References
For more information on the consensus cluster and item consensus statistics, see Monti et al..