consensusECDF {neatmaps}R Documentation

Consensus Matrix ECDFs

Description

consensusECDF plots the empirical cumulative distribution functions (ECDF) of the consensus matrices produced during the consensus clustering step of the neatmap function.

Usage

consensusECDF(neatmap_res)

Arguments

neatmap_res

Output from the neatmap function.

Details

This function visualizes the ECDFs of the consensus matrices for each each iteration of consensus clustering that is carried out as part of the neatmap function.

Value

Returns a ggplot depicting the ECDFs of each iteration of the consensus clustering, i.e. one ECDF per number of clusters used in each iteration.

Author(s)

Philippe Boileau , philippe_boileau@berkeley.edu

References

For more information on the consensus matrices, 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)
                    
# create the ECDF plot
consensusECDF(neat_res)

[Package neatmaps version 2.1.0 Index]