Description Usage Arguments Value Examples
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.
1 | clust_groups(df, hc)
|
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. |
A data.frame containing the cluster each gene set belongs to.
1 2 3 | data(genesets_sel)
gs.cl <- gm_clust(genesets_sel)
clust.groups <- clust_groups(genesets_sel, gs.cl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.