Perform semantic similarity analysis and reduction of the overrepresented GO terms of an scDiffCom object.
ReduceGO(
object,
method = c("Rel", "Resnik", "Lin", "Jiang", "Wang"),
threshold = 0.7
)# S4 method for scDiffCom
ReduceGO(
object,
method = c("Rel", "Resnik", "Lin", "Jiang", "Wang"),
threshold = 0.7
)
A data.table of GO terms with their reduction
scDiffCom
object
A distance method supported by rrvgo and GOSemSim: c("Rel", "Resnik", "Lin", "Jiang", "Wang")
Similarity threshold used by rrvgo::reduceSimMatrix
This function is basically a wrapper around rrvgo::calculateSimMatrix
and rrvgo::reduceSimMatrix
.