Plot semantic similarity termtree

plot_termtree(enrichment, Nterms = NA, Nwords = 5, Nclusters = 1)

Arguments

enrichment

GOAT enrichment result dataframe

Nterms

integer, default: NA to plat all terms, integer sets amount of terms to plot

Nwords

integer, default: 5, sets N summarized words per cluster

Nclusters

integer, default: 1, sets N clusters of terms

Value

ggtree/gg/ggplot object

Examples

plot_termtree(
  get(load(system.file("extdata", "example_enrichment.rda", package = "goatea"))), 
  Nclusters = 3
)
#> Warning: `aes_()` was deprecated in ggplot2 3.0.0.
#>  Please use tidy evaluation idioms with `aes()`
#>  The deprecated feature was likely used in the enrichplot package.
#>   Please report the issue at
#>   <https://github.com/GuangchuangYu/enrichplot/issues>.