Learn R Programming

richCluster (version 1.0.2)

filter_clusters: Filter Clusters by Number of Terms

Description

Filters the full list of clusters by keeping only those with greater than or equal to min_terms # of terms.

Usage

filter_clusters(all_clusters, min_terms)

Value

The filtered data frame with clusters filtered to include only those with at least `min_terms` terms.

Arguments

all_clusters

A dataframe containing the merged seeds with column named `ClusterIndices`.

min_terms

An integer specifying the minimum number of terms required in a cluster.