clust_groups: clust_groups

Description Usage Arguments Value Examples

View source: R/clust_groups.R

Description

Takes the output of gm_clust, which is an hclust class object, and returns a data frame that will be used in the rest of GSEAmining functions gm_enrichreport, gm_enrichterms and gm_enrichcores.

Usage

1

Arguments

df

Data frame that contains at least three columns: an ID column for the gene set names, a NES column with the normalized enrichment score and a core_enrichment column containing the genes in the leading edge of each gene set separated by '/'.

hc

The output of gm_clust, which is an hclust class object.

Value

A data.frame containing the cluster each gene set belongs to.

Examples

1
2
3
data(genesets_sel)
gs.cl <- gm_clust(genesets_sel)
clust.groups <- clust_groups(genesets_sel, gs.cl)

GSEAmining documentation built on Nov. 8, 2020, 5:52 p.m.