clust_group_terms: clust_group_terms

View source: R/clust_group_terms.R

clust_group_termsR Documentation

clust_group_terms

Description

Takes the output of clust_groups, a data frame , and process it to obtain the enrichment of terms in gene sets names within each cluster. The output is used in the functions gm_enrichterms and gm_enrichreport.

Usage

clust_group_terms(cg)

Arguments

cg

A data frame output from the GSEAmining cluster_groups function.

Value

A tibble with four variables (Cluster, Enrichment, monogram, n).

Examples

data(genesets_sel)
gs.cl <- gm_clust(genesets_sel)
clust.groups <- clust_groups(genesets_sel, gs.cl)
clust.groups.wordcloud <- clust_group_terms(clust.groups)


oriolarques/GSEAmining documentation built on June 27, 2023, 11:31 p.m.