A function to reduce go terms by semantic similarity
Usage
bb_gosummary(
x,
reduce_threshold = 0.8,
go_db = c("org.Hs.eg.db", "org.Dr.eg.db", "org.Mm.eg.db")
)Value
A list with three items:
- simMatrix
The GO term semantic similarity matrix from
calculateSimMatrix.- scores
A named numeric vector, one entry per GO term in
x$res_table, giving-log10(classicFisher)for that term's enrichment p-value (fromx$res_table$classicFisher). Higher values indicate stronger enrichment.- reducedTerms
The term-reduction result from
reduceSimMatrix, whosescorecolumn is this same-log10(classicFisher)value for each retained term.