This function performs clustering on enrichment results using an algorithm inspired by DAVID's functional clustering method.
david_cluster(
enrichment_results,
df_names = NULL,
similarity_threshold = 0.5,
initial_group_membership = 3,
final_group_membership = 3,
multiple_linkage_threshold = 0.5
)A named list containing the clustering results.
A list of dataframes, each containing enrichment results. Each dataframe should include at least the columns 'Term', 'GeneID', and 'Padj'.
Optional, a character vector of names for the enrichment result dataframes. Must match the length of `enrichment_results`. Default is `NULL`.
A numeric value for the kappa score cutoff (0 < cutoff <= 1).
Minimum number of terms to form an initial seed group.
Minimum number of terms for a final cluster.
A numeric value for the merging threshold.