Learn R Programming

clusterProfiler (version 3.0.4)

simplify: simplify method

Description

simplify output from enrichGO by removing redundancy of enriched GO terms

simplify output from compareCluster by removing redundancy of enriched GO terms

Usage

"simplify"(x, cutoff = 0.7, by = "p.adjust", select_fun = min, measure = "Rel")
"simplify"(x, cutoff = 0.7, by = "p.adjust", select_fun = min, measure = "Rel")

Arguments

x
output of enrichGO
cutoff
similarity cutoff
by
feature to select representative term, selected by 'select_fun' function
select_fun
function to select feature passed by 'by' parameter
measure
method to measure similarity

Value

updated enrichResult objectupdated compareClusterResult object

References

issue #28 https://github.com/GuangchuangYu/clusterProfiler/issues/28