gm_clust: gm_clust: GSEAmining cluster object

View source: R/gm_clust.R

gm_clustR Documentation

gm_clust: GSEAmining cluster object

Description

Takes the output of gm_filter or a data frame that with the results of GSEA analysis and returns and hclust object that can be plotted using the gm_dendplot function.

Usage

gm_clust(df)

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 '/'.

Value

An object of class hclust that contains the clustering of the gene sets by the core enriched genes.First a distance matrix is calculated using the 'binary' method and then a cluster with the 'complete' method is created.

Examples

data(genesets_sel)
gs.cl <- gm_clust(genesets_sel)



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